android - disable chrome debugging. Cordova 5.0.0 -


is there way disable chrome debugging of app?

when chrome://inspect app listed eventhough, downloaded app play store. app build under --release state , signed.

any help?

you give android:debuggable=["true" | "false"] shot in manifest. attribute application tag, , can manually append in platforms/android/androidmanifest.xml file.

or, via cordova hook. see hook ionic generator: https://github.com/djett41/generator-ionic/blob/master/templates/hooks/after_prepare/update_platform_config.js

hooks can automatically run hooks folder, , particular hook reside in hooks/after_prepare, or in config <hook type="after_prepare" src="path/to/file/update_platform_config.js" />

more documentation on hooks can found in hooks readme: https://github.com/apache/cordova-app-hello-world/blob/master/hooks/readme.md

running option using hook listed above, add along these lines config.xml:

<platform name="android">     <preference name="android-debuggable" value="false" />`  </platform> 

Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -