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

fix: on iOS requestReadPermission returns an invalid result before us… #242

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

sjregan
Copy link

@sjregan sjregan commented Feb 4, 2021

…er has answered the permission request.

This fixes the issue on iOS when requesting read permission. If the user has not been previously asked for permission, iOS will display an alert to the user requesting their permission while the requestReadPermission function returns null before the user has answered the question.

@joshterrill
Copy link

Can we get someone to merge this PR into the main branch and push a new release out the NPM? As of iOS 15.2, image picker no longer works the first time you accept the permissions. This PR seems to fix the issue.

JEreth added a commit to Pragmatic-Apps/ImagePicker that referenced this pull request Feb 17, 2023
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.

2 participants