Skip to content

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

Open
sjregan wants to merge 2 commits into
Telerik-Verified-Plugins:masterfrom
sjregan:fix/ios-requestReadPermission-early-return
Open

fix: on iOS requestReadPermission returns an invalid result before us…#242
sjregan wants to merge 2 commits into
Telerik-Verified-Plugins:masterfrom
sjregan:fix/ios-requestReadPermission-early-return

Conversation

@sjregan
Copy link
Copy Markdown

@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
Copy Markdown

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