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
camera or gallery doesn't open due to maxsdkversion mentioned as 32
Problem
currently google updated their policy to use minsdkversion is 33 and when I checked in tablet with android version 9 then it doesn't open camera
What is expected to happen?
it should open camera or gallery option
What does actually happen?
it doesn't open camera or gallery option
Information
you guys need to update maxsdkversion in plugin.xml at line no. 58 by 33 or 34 otherwise it will not work in future
Command or Code
Environment, Platform, Device
Version information
Checklist
I searched for existing GitHub issues
I updated all Cordova tooling to most recent version
I included all the necessary information above
The text was updated successfully, but these errors were encountered:
bipin-52165
changed the title
Camera or gallery doesn't open due so maxsdkversion
Camera or gallery doesn't open due to maxsdkversion in plugin.xml
Aug 5, 2024
is WRITE_EXTERNAL_STORAGE permission, which only applies to API 32 and lower. It is always rejected on API 33 and later devices.
WRITE permission itself is actually obsolete since API 29 with scoped storage mechanism, but it implicitly grants READ_EXTERNAL_STORAGE up to and including API 32. On API 33+, it will be auto rejected.
Starting with API 33, READ_EXTERNAL_STORAGE is replaced by READ_MEDIA_IMAGES, READ_MEDIA_AUDIO, and READ_MEDIA_VIDEO, which current latest version of this plugin uses (except for the audio permission) if running on an API 33+ environment.
Google has announced that they are going to be locking down on apps requesting the READ_MEDIA_* permissions if the app does not have justification for broad access to the media content. In a future release, likely in a new major release we will be removing the READ_MEDIA permission usage and reworking the code to use the native MediaStore APIs. You can test this change by installing the PR: #889
It will likely require some changes in your API consumption in your app code as it will return content:// paths on android, which is temporary access. For example, if long term access is required, then a file copy operation will be required.
Bug Report
camera or gallery doesn't open due to maxsdkversion mentioned as 32
Problem
currently google updated their policy to use minsdkversion is 33 and when I checked in tablet with android version 9 then it doesn't open camera
What is expected to happen?
it should open camera or gallery option
What does actually happen?
it doesn't open camera or gallery option
Information
you guys need to update maxsdkversion in plugin.xml at line no. 58 by 33 or 34 otherwise it will not work in future
Command or Code
Environment, Platform, Device
Version information
Checklist
The text was updated successfully, but these errors were encountered: