I have implemented push notifications to a Worklight application. One of the requirements is to display a message if the user has disabled the push notifications for the application at the OS level.
Is there a way to detect this change? The Worklight's method isPushEnabled: Checks whether push notification is supported.Returns true if the IBM® Worklight® JavaScript API supports push notifications in the current environment.
Even if I disabled push for the AMS App, this method still returns true.
I also searched a solution at the Cordova level but no luck so far.
Thank you