[
https://issues.apache.org/jira/browse/CB-12534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15901425#comment-15901425
]
Dani Granados commented on CB-12534:
------------------------------------
Hi [~jcesarmobile] ,
I've tried also on a mac Sierra with CLI 6.5.0, removing the targetSdkVersion,
adding the if statement with setWebContentsDebuggingEnabled as false on main
activity, connected my phone (and also a tablet with 4.4.1) and I'm still being
able to inspect in chrome a --release and signed build.
The only tool I'm using is google chrome without plugins (nor in windows
neither in mac).
I can not debug this same release build on a phone with android lollipop or
marshmallow.
The cordova plugins installed are:
com.bikasv.plugins.datepicker 0.1.1 "DatePickerPlugin"
cordova-plugin-app-version 0.1.9 "AppVersion"
cordova-plugin-camera 2.2.0 "Camera"
cordova-plugin-compat 1.1.0 "Compat"
cordova-plugin-crypt-file 1.3.2 "CordovaCrypt"
cordova-plugin-dialogs 1.3.2 "Notification"
cordova-plugin-firebase 0.1.10 "Google Firebase Plugin"
cordova-plugin-google-analytics 0.8.1 "Google Universal Analytics Plugin"
cordova-plugin-whitelist 1.2.2 "Whitelist"
Thanks
> Remote debugging is enabled on release build type for android 4.4
> -----------------------------------------------------------------
>
> Key: CB-12534
> URL: https://issues.apache.org/jira/browse/CB-12534
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 6.4.0
> Environment: cordova 6.4.0
> {{cordova platform version android}}
> Installed platforms: android 6.0.0
> android studio 2.2.3
> windows 10 x64
> affects android version 4.4
> Reporter: Dani Granados
> Priority: Critical
> Labels: android
>
> While generating a release and signed apk, if it's ran on a device with kit
> kat, the remote inspection at google chrome is enabled.
> This doesn't happen on devices with android > 4.4
> Tried adding {{android:debuggable="false"}} on AndroidManifest.xml
> Also adding on main activity
> if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
> WebView.setWebContentsDebuggingEnabled(false);
> }
> But the release apk generated stills being debuggable.
> Then tried installing cordova-plugin-crosswalk-webview and found it disables
> correctly the remote inspection for release, as it should be *perse.*
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]