ankitjainOfficial edited a comment on issue #419: No camera permission in Android app. URL: https://github.com/apache/cordova-plugin-camera/issues/419#issuecomment-574580292 @AmrAlmagic It's been a while, I think the solution was: Adding this to your `config.xml` ``` <custom-config-file parent="/*" target="AndroidManifest.xml"> <uses-permission android:name="android.permission.CAMERA" /> <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> </custom-config-file> ``` And install this [package](https://github.com/dpa99c/cordova-custom-config#readme) I didn't need to make any changes to AndroidManifest directly. If everything works, you should see the following in `platforms/android/app/src/main/AndroidManifest.xml`: ``` <uses-permission android:name="android.permission.CAMERA"/> <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/> ```
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org