-
Notifications
You must be signed in to change notification settings - Fork 26
MobileCRM.Bridge.enableDebug
rescocrm edited this page May 15, 2023
·
4 revisions
Enables platform-specific features for debugging the web page.
After calling this method, it is possible to attach the Google Chrome debugger into the web page opened in MobileCRM application running on Android (KitKat or newer).
This method also activates the Javascript warnings in Windows 7 app.
It has dummy implementation on iOS and Android debug build.
Argument | Type | Description |
---|---|---|
callback | function(obj) | The callback function that is called asynchronously. |
errorCallback | function(errorMsg) | The errorCallback which is called asynchronously in case of error. |
scope | Object | The scope for callbacks. |
This example demonstrates how to switch the Android WebView into debugging mode which enables remote connection from Google Chrome device inspector.
MobileCRM.bridge.enableDebug();