breautek edited a comment on issue #763: URL: https://github.com/apache/cordova-plugin-camera/issues/763#issuecomment-926206930
Cannot really speak on the root issue but > Do we need to add this permission? https://developer.android.com/reference/android/Manifest.permission#CAMERA This permission is only used for apps that uses the Camera APIs directly. This plugin does not use the Camera APIs. Instead it uses what Android calls Intents, which is to delegate the responsibility of taking an image using the camera by launching another app which **does** have the `Camera` permissions already to handle the camera operations. This is the recommended approach to use by Google and covers the needs of most apps. There is one caveat however, if the application declares that the app uses the `Camera` permission, then you must have the Camera permission to use Intents. This is a case already handled via: https://github.com/apache/cordova-plugin-camera/blob/0fba37cac3d2053d4c5f8acbb2cf0c5dbd0903be/src/android/CameraLauncher.java#L125 and https://github.com/apache/cordova-plugin-camera/blob/0fba37cac3d2053d4c5f8acbb2cf0c5dbd0903be/src/android/CameraLauncher.java#L252-L284 -- 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]
