cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dani Granados (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-12534) Remote debugging is enabled on release build type for android 4.4
Date Mon, 13 Mar 2017 08:40:04 GMT

    [ https://issues.apache.org/jira/browse/CB-12534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15907010#comment-15907010
] 

Dani Granados commented on CB-12534:
------------------------------------

[~jcesarmobile] I knew my phone has a rooted rom (xiaomi mi4 with miui) but I didn't expect
that the tablet had it too.
I've tried on a friend's phone with 4.4.2 and as you say it's not possible to debug the same
apk on that device.
Thanks a lot and sorry for the inconvenience.
	


> 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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message