You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is no way to check if the push notification permissions have been enabled. It is a common use case to check if the user really did grant the permission or not in order to display a corresponding message to him and would be required for apps, which primary rely on push notifications to function properly.
(Currently, this could be done using a plugin like cordova-plugin-diagnostics, however it declares generic description for various iOS permissions, which might not be desired for production apps.)
Problem description
There is no way to check if the push notification permissions have been enabled. It is a common use case to check if the user really did grant the permission or not in order to display a corresponding message to him and would be required for apps, which primary rely on push notifications to function properly.
(Currently, this could be done using a plugin like
cordova-plugin-diagnostics
, however it declares generic description for various iOS permissions, which might not be desired for production apps.)Expected behavior
Support a method to check if the notifications permission has been enabled, similarly to https://github.com/dpa99c/cordova-diagnostic-plugin#isregisteredforremotenotifications
Support a method to check if notification banners have been enabled, similarly to https://github.com/dpa99c/cordova-diagnostic-plugin#isremotenotificationsenabled.
The text was updated successfully, but these errors were encountered: