MobileFirst App Diagnostic

六月ゝ 毕业季﹏ 提交于 2019-12-02 21:52:37

问题


How can I disable the APP DIAGNOSTIC screenshot after the occurrence of an error ? It appears selecting it on an error POPUP in the app itself. This app is hybrid and based on MobileFirst 7.1.


回答1:


There is no flag to remove the 'Details' button that appears in the pop-up that leads to this Diagnostics table.

I believe you should be able to override the dialog all-together and provide your own by using the onConnectionFailure property in the initOptions.js file. You should have there the following snippet

// # The callback function to invoke in case application fails to connect to MobileFirst Server
//onConnectionFailure: function (){},


来源:https://stackoverflow.com/questions/41945494/mobilefirst-app-diagnostic

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!