ravi-yk commented on PR #889:
URL: 
https://github.com/apache/cordova-plugin-camera/pull/889#issuecomment-2232980724

   As per information present in the below page (shared  in #866 by Fantikor),
   
   
https://medium.com/androiddevelopers/permissionless-is-the-future-of-storage-on-android-3fbceeb3d70a
   
   
![fragment](https://github.com/user-attachments/assets/9c2c21bd-e79b-4b0d-9663-a9f0c774781c)
   
   This plugin is using ACTION_GET_CONTENT intent, so this new photo picker is 
actually used under the hood. So I modified this plugin and removed the code 
that requests permissions (for READ_MEDIA_IMAGES and READ_MEDIA_VIDEO) as they 
were previously only required for Android API levels 33 and above and for the 
versions 29 and below the plugin would retain the same behavior as before.  If 
I am not wrong the gallery use case is also working as expected and no other 
changes are required as Android photo picker is used under the hood.
   
   Let me know if you see something is missing or If I misunderstood it.


-- 
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

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