Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 7B61F200C2C for ; Fri, 3 Mar 2017 13:20:53 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 79E64160B6D; Fri, 3 Mar 2017 12:20:53 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id C2829160B57 for ; Fri, 3 Mar 2017 13:20:52 +0100 (CET) Received: (qmail 52528 invoked by uid 500); 3 Mar 2017 12:20:51 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 52517 invoked by uid 99); 3 Mar 2017 12:20:51 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Mar 2017 12:20:51 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 39D09C214A for ; Fri, 3 Mar 2017 12:20:51 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.547 X-Spam-Level: X-Spam-Status: No, score=-1.547 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-2.999, SPF_NEUTRAL=0.652] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id R2974SDRY-fY for ; Fri, 3 Mar 2017 12:20:50 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 044FA5F58E for ; Fri, 3 Mar 2017 12:20:50 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 82B5AE00B4 for ; Fri, 3 Mar 2017 12:20:45 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 3BD4324158 for ; Fri, 3 Mar 2017 12:20:45 +0000 (UTC) Date: Fri, 3 Mar 2017 12:20:45 +0000 (UTC) From: "Dani Granados (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CB-12534) Remote debugging is enabled on release build type for android 4.4 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 03 Mar 2017 12:20:53 -0000 [ https://issues.apache.org/jira/browse/CB-12534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dani Granados updated CB-12534: ------------------------------- Description: 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 {quote} if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {} WebView.setWebContentsDebuggingEnabled(false); } {quote} 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.* was: 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.* > 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 > 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 > {quote} > if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {} > WebView.setWebContentsDebuggingEnabled(false); > } > {quote} > 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