-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[Suggestion] Permission Request method for iOS #2085
Comments
Thats different. It will just tell you if permissions are granted or not. The method I am talking about actually fires the iOS system "notifications enable" dialog and waits for user's response before triggering the callback. |
Agreed, and I'd say that the former is a more sensible way to think about it. I'd even say it should have been like that from the start. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hi! It enables automatic permission request when checkpermission called. |
Hello,
In my current app, I show a custom dialog when user first runs the app to ask him if he wants to receive or not notifications. Its only when he accepts that I initiate the plugin. However this setup forces me to use this plugin : https://github.com/katzer/cordova-plugin-local-notifications
that has a "requestPermision" method which will tells me if user has allowed notifications or not when the system dialog for notifications shows up. Is there any plans to implement such functionality? It would definitely help me out not longer rely on the additional plugin as currently the register event doesn't tell you if user has allowed it or not.
The text was updated successfully, but these errors were encountered: