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

Release build Android keeps android:debuggable=“true”

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0, 3.1.0
    • Fix Version/s: 3.4.0
    • Labels:
      None
    • Environment:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: