Closed tamlyn closed 1 year ago
Not sure how to upvote this request, but I would like it too :D
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
The issue has been closed for inactivity.
iOS 10+ supports a value of
UNAuthorizationStatusNotDetermined
forauthorizationStatus
which means that the user has not yet been shown the system permissions popup. This is useful in implementing a common UX flow in which an app screen explaining why push notifications are necessary is shown before showing the system popup.Android example:
I can see that we're already checking for and returning the
provisional
state here.https://github.com/wix/react-native-notifications/blob/d727df5ef8adb600c162d7584847dc858027e95f/lib/ios/RNNotificationCenter.m#L122
Would the maintainers be open to a PR to add a line below it to check for the
notDetermined
state?More context on this SO post.