[
https://issues.apache.org/jira/browse/CB-3848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13685969#comment-13685969
]
Dan Moore commented on CB-3848:
-------------------------------
Is the way to limit permissions at the present time to store
AndroidManifest.xml (and the corresponding ios, wp8, etc configs) separately
and copy it to the bin directory using hooks?
> Can't modify phonegap permissions without editing AndroidManifest.xml
> ---------------------------------------------------------------------
>
> Key: CB-3848
> URL: https://issues.apache.org/jira/browse/CB-3848
> Project: Apache Cordova
> Issue Type: Bug
> Components: CLI
> Affects Versions: 2.8.0
> 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
> Reporter: Dan Moore
> Assignee: Filip Maj
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira