You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2021/09/27 12:47:21 UTC

[GitHub] [cordova-android] WuglyakBolgoink opened a new issue #1359: Cannot append permission into the AndroidManifest file

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
   
   - `cordova-android@10.1.1`
   
   
   ## 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: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-android] WuglyakBolgoink removed a comment on issue #1359: Cannot append permission into the AndroidManifest file

Posted by GitBox <gi...@apache.org>.
WuglyakBolgoink removed a comment on issue #1359:
URL: https://github.com/apache/cordova-android/issues/1359#issuecomment-928273594


   fyi @dpogue / @breautek 


-- 
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: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-android] WuglyakBolgoink commented on issue #1359: Cannot append permission into the AndroidManifest file

Posted by GitBox <gi...@apache.org>.
WuglyakBolgoink commented on issue #1359:
URL: https://github.com/apache/cordova-android/issues/1359#issuecomment-928273594


   fyi @dpogue / @breautek 


-- 
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: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-android] WuglyakBolgoink commented on issue #1359: Cannot append permission into the AndroidManifest file

Posted by GitBox <gi...@apache.org>.
WuglyakBolgoink commented on issue #1359:
URL: https://github.com/apache/cordova-android/issues/1359#issuecomment-927839135


   related to https://github.com/apache/cordova-plugin-camera/issues/763


-- 
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: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-android] WuglyakBolgoink commented on issue #1359: Cannot append permission into the AndroidManifest file

Posted by GitBox <gi...@apache.org>.
WuglyakBolgoink commented on issue #1359:
URL: https://github.com/apache/cordova-android/issues/1359#issuecomment-928273594


   fyi @dpogue / @breautek 


-- 
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: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-android] WuglyakBolgoink removed a comment on issue #1359: Cannot append permission into the AndroidManifest file

Posted by GitBox <gi...@apache.org>.
WuglyakBolgoink removed a comment on issue #1359:
URL: https://github.com/apache/cordova-android/issues/1359#issuecomment-928273594


   fyi @dpogue / @breautek 


-- 
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: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org