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 2022/06/09 17:40:34 UTC

[GitHub] [cordova-plugin-camera] breautek commented on issue #794: Camera return 20 , after implementing smallcase plugin (Ionic 6)

breautek commented on issue #794:
URL: https://github.com/apache/cordova-plugin-camera/issues/794#issuecomment-1151415206

   Error code 20 is a permission error.
   
   `gw-mob-sdk-cordova` declares the `CAMERA` permission. The camera permission isn't required for this plugin but does introduce some caveats.
   
   Camera permission is to use the camera APIs programmatically, which this plugin does not do, as this plugin offloads the responsibility to the device's camera app. However, if the application has the `CAMERA` permission declared, then the app must have the `CAMERA` permission granted, even if you're using intents like this plugin does.
   
   This plugin will attempt to request the camera permission if it's declared in the manifest, but if you have previously denied permission, the OS may remember that choice and auto reject the permission grant.
   
   I would advise to double check your permission grants in the app settings.


-- 
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