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

[iOS] Added permission getter and listener #249

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

Conversation

MarcoScabbiolo
Copy link

@MarcoScabbiolo MarcoScabbiolo commented Mar 8, 2021

  • Added getCurrentAuthorization in iOS to get the current authorization status
  • Added watchPermission in iOS to listen to changes to the permission status of the app

Tested in the simulator and added to our next production release with patch-package.

@Agontuk
Copy link
Owner

Agontuk commented Mar 12, 2021

Awesome work, I'll take a look as soon as possible. One thing, we won't be needing getCurrentAuthorizaion as we're removing permission related features in favor of react-native-permissions. It has a unified workflow for all platforms and easy to use. You can check the details here #224

@MarcoScabbiolo
Copy link
Author

Looks good, I think merging this before the mayor breaking change to use react-native-permission wouldn't hurt, right?

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.

None yet

2 participants