I tend to debug my Cordova app using Chrome and Safari's "Inspect on Device" type features, i.e. in Chrome the bottom option in this menu:
For the release version of the app though I'd like even people with dev mode devices to not be able to inspect the JS source of the app in Cordova's web view. I can't find anything documenting it, does anybody know if it's possible to disable this?
If you do cordova build --release the inspect will be disabled
Update: Since Cordova 5.0.0 the build system uses gradle. See this thread for more info: Specify signing config for Gradle and Cordova 5
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With