Replies: 1 comment 7 replies
-
hard to tell without the actual app to test, if the permission is there it should find it, but doesn't find it for some reason. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm creating some ionic capacitor app and I have problem with new Android phones. I have a screen with some button that allows user to set his profile picture. When user clicks button for the first time the app asks for permissions "Allow {APP_NAME} to access photos, videos, music and audio on this device?" and when user allow this permissions then it is still impossible to open gallery to choose photos.
I can see this error message in console:
I/Capacitor/Console: File: http://localhost/default-src_app_shared_shared_module_ts.js - Line 2195 - Msg: Error: Missing the following permissions in AndroidManifest.xml: android.permission.WRITE_EXTERNAL_STORAGE
I'm sure I have this permission in AndroidManifest.xml because I checked it a few times and it is there. I can't find anything that may help me to fix it.
My AndroidManifest.xml:
My capacitor doctor:
My camera plugin version:
"@capacitor/camera": "^4.1.4",
My function for adding photo looks like this:
Beta Was this translation helpful? Give feedback.
All reactions