hieunguyen2211 opened a new issue, #861:
URL: https://github.com/apache/cordova-plugin-camera/issues/861

   # 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
   <!-- Include all relevant information that might help understand and 
reproduce the problem -->
   As I checked at 
[CameraLauncher.java#L244](https://github.com/apache/cordova-plugin-camera/blob/master/src/android/CameraLauncher.java#L244),
 READ_EXTERNAL_STORAGE is added into a list of permissions, which will be 
verified later. However, in 
[plugin.xml#L58](https://github.com/apache/cordova-plugin-camera/blob/master/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
   


-- 
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-unsubscr...@cordova.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to