Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-5447

Release build Android keeps android:debuggable=“true”

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0, 3.1.0
    • 3.4.0
    • None
    • OS X Mavericks

    Description

      I'm trying to release an Android app using the CLI.

      When running 'cordova build android --release', I noticed the following setting in AndroidManifest.xml: "android:debuggable="true".

      This setting prevents anyone from uploading to the Play Store.

      I've solved this by adding a cordova-hook that sets this value to "false". Shouldn't this be done by default when building with the '--release' flag?

      Attachments

        Activity

          People

            agrieve Andrew Grieve
            dj_hoek Dirk-Jan Hoek
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: