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

Adds the ability to see whether the Push Notifications permission was allowed/declined #2249

Closed
wants to merge 3 commits into from

Conversation

Livijn
Copy link

@Livijn Livijn commented Dec 14, 2019

This pr adds the ability to see whether the Push Notifications permission was allowed/declined. Basically this adds an event at the requestAuthorization(). This event is only fired on iOS since Android allows notifications by default.

This could be useful to determine whether or not the device has notifications enabled, so we don't send notifications to the APNS-token / FCM-token.

Closes #2247

@jcesarmobile
Copy link
Member

Thanks for the PR, but we are going with this PR instead #2324

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.

bug: PushNotifications registration & registrationError listeners not fired
2 participants