You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After granted gallery access permission, when trying to access gallery again, there is no popup to ask users to allow gallery access permission.
What does actually happen?
After granted gallery access permission, when trying to access gallery again, there is a popup to ask users to allow gallery access permission
Information
As I checked at CameraLauncher.java#L244, READ_EXTERNAL_STORAGE is added into a list of permissions, which will be verified later. However, in plugin.xml#L58, there is no READ_EXTERNAL_STORAGE here.
I try to add READ_EXTERNAL_STORAGE to my project by: <uses-permission android:maxSdkVersion="32" android:name="android.permission.READ_EXTERNAL_STORAGE" />
And the problem is gone.
Environment, Platform, Device
Android 11, 12 with targetSDK 33
Version information
cordova 12, cordova-plugin-camera 7.0.0
The text was updated successfully, but these errors were encountered:
hieunguyen2211
changed the title
[Android] Still request gallery access permission after accepting
[Android] Still request gallery access permission after granted
Oct 11, 2023
Bug Report
Problem
What is expected to happen?
After granted gallery access permission, when trying to access gallery again, there is no popup to ask users to allow gallery access permission.
What does actually happen?
After granted gallery access permission, when trying to access gallery again, there is a popup to ask users to allow gallery access permission
Information
As I checked at CameraLauncher.java#L244, READ_EXTERNAL_STORAGE is added into a list of permissions, which will be verified later. However, in plugin.xml#L58, there is no READ_EXTERNAL_STORAGE here.
I try to add READ_EXTERNAL_STORAGE to my project by:
<uses-permission android:maxSdkVersion="32" android:name="android.permission.READ_EXTERNAL_STORAGE" />
And the problem is gone.
Environment, Platform, Device
Android 11, 12 with targetSDK 33
Version information
cordova 12, cordova-plugin-camera 7.0.0
The text was updated successfully, but these errors were encountered: