Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update PermissionCheck.kt #265

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

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