Skip to content

[iOS] Added permission getter and listener#249

Open
MarcoScabbiolo wants to merge 4 commits intoAgontuk:masterfrom
MarcoScabbiolo:master
Open

[iOS] Added permission getter and listener#249
MarcoScabbiolo wants to merge 4 commits intoAgontuk:masterfrom
MarcoScabbiolo:master

Conversation

@MarcoScabbiolo
Copy link
Copy Markdown

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

2 participants