breautek commented on issue #763: URL: https://github.com/apache/cordova-plugin-camera/issues/763#issuecomment-2439063306
Closing as stale. For context. Some camera apps do require `CAMERA` permission even when used by intents. This however goes against Android standards and would be a bug within the camera application itself. But third-party plugin isn't required to add onto the config, the following should suffice if you're finding that you need the camera permission: ```xml <config-file target="AndroidManifest.xml" parent="/*" xmlns:android="http://schemas.android.com/apk/res/android"> <uses-permission android:name="android.permission.CAMERA" /> </config-file> ``` Cordova won't add it automatically themself, but the plugin will request the permission if declared and not granted. -- 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-unsubscr...@cordova.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org