Gregordy commented on issue #471: [Android] Permission denied when trying to 
launch camera
URL: 
https://github.com/apache/cordova-plugin-camera/issues/471#issuecomment-596312097
 
 
   > Having the same issue with cordova 9.0. The camera return 20 when try to 
access Gallery or take picture. Is there a fix for this?
   
   Same, I am on Cordova 9.0 (on Ionic 3.9.9) and trying to take a picture was 
resulting in an error 20.
   I then simply added the following permission to my config.xml and I was able 
to take a picture.
   
       <uses-permission 
android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
   
   Also, if this can help, I didn't need to use the 
cordova-plugin-android-permissions.
   
   Hope this helps!

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to