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

Can't modify phonegap permissions without editing AndroidManifest.xml

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Later
    • Affects Version/s: 2.8.0
    • Fix Version/s: 3.0.0
    • Component/s: cordova-cli
    • Labels:
      None
    • Environment:

      npm 1.2.30
      cordova (cli) 2.8.19
      phonegap 2.8.1
      centos 6
      android sdk tools: 22.0.1
      android build tools: 17
      android platform tools: 17
      /usr/local all owned by me via chown

      Description

      When I build a apk from the command line via 'cordova build android', I get an apk that has all permissiones set, including those that I don't even need (like contacts access, capture access, etc).

      I have tried modifying these files without any effect:
      www/config.xml
      platforms/android/res/xml/config.xml

      Editing platforms/android/AndroidManifest.xml and removing those permissions seemed to work.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                filmaj Filip Maj
                Reporter:
                mooreds Dan Moore
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: