You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2020/03/09 03:14:32 UTC
[GitHub] [cordova-plugin-camera] Gregordy commented on issue #471: [Android]
Permission denied when trying to launch camera
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org