WuglyakBolgoink opened a new issue #1359:
URL: https://github.com/apache/cordova-android/issues/1359


   # Bug Report
   
   ## Problem
   
   ### What is expected to happen?
   
   add custom permissions from project config.xml (not from plugin)
   
   
   ### What does actually happen?
   
   add in config.xml file
   
   ```xml
   <edit-config file="app/src/main/AndroidManifest.xml" mode="merge" 
target="/manifest/uses-permission">
               <uses-permission android:name="android.permission.CAMERA" />
   </edit-config>
   ```
   
   or
   
   ```xml
   <edit-config file="app/src/main/AndroidManifest.xml" mode="overwrite" 
target="/manifest/uses-permission">
               <uses-permission android:name="android.permission.CAMERA" />
   </edit-config>
   ```
   
   then remove android platform folder and build app again.
   
   in result manifest file I can see `permission.CAMERA` but both modes 
(`merge` & `overwrite`) remove `permission.INTERNET` from the manifest file (or 
maybe any other first permission in the whole list)
   
   
   Is it possible to `append` a new permissions into the manifest file?
   
   ### Version information
   
   - `[email protected]`
   
   
   ## Checklist
   
   - [x] I searched for existing GitHub issues
   - [x] I updated all Cordova tooling to most recent version
   - [x] I included all the necessary information above
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to