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

Callback is not executing when user selects "Don't allow notification" #162 #615

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Reza-sh
Copy link

@Reza-sh Reza-sh commented Jul 31, 2015

Simple fix for this issue only for iOS version 8 and higher

@gunters63
Copy link

Tried that patch.
When permissions were never asked for yet, register will immediately return with fail "User disabled all notifications."

@Reza-sh
Copy link
Author

Reza-sh commented Aug 4, 2015

Ah, good find, my device doesn't hit that since the app was already installed. I think I know how to solve it. Will post here after I tested it.

@gunters63
Copy link

There is a fork which implements a new method for returning the permission denied/allow status. I tried that and it works:

https://github.com/Telerik-Verified-Plugins/PushNotification

@Reza-sh
Copy link
Author

Reza-sh commented Aug 4, 2015

Thanks, Are you referring to areNotificationsEnabled method?
It seems that there is no work around to get the call back.

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