Skip to content

Update PermissionCheck.kt#265

Open
panshuljindal wants to merge 1 commit intosangcomz:developfrom
panshuljindal:develop
Open

Update PermissionCheck.kt#265
panshuljindal wants to merge 1 commit intosangcomz:developfrom
panshuljindal:develop

Conversation

@panshuljindal
Copy link

@panshuljindal panshuljindal commented Sep 22, 2023

Added handling for the removing the WRITE_EXTERNAL_STORAGE permission in case of API 30 to 32

Fixes issue #.
This PR changes:

How to recreate
Create an app with targetApiVersion 33.
Use a device with API version between 30-32.
Create a picker activity instance and it will return "Permission Denied" toast everytime but all the permissions required are given.

Changes Done: Added another statement to check for only READ_EXTERNAL_STORAGE in case of api version between 30 to 32.

Added handling for the removing the WRITE_EXTERNAL_STORAGE permission in case of API 30 to 32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant