I using pushwoosh to send the push notification to my app and I would like to add some feature to check that if user is turn off "Revicieve Notification" on their devices, the push notification that I sent from pushwoosh will not fire or alert to those devices.
PS. I use cordova.
Thank you.
For Cordova take a look on:
iOS: getRemoteNotificationStatus function in Pushwoosh plugin.
Check "enabled" key there.
Android: You may consider user registered unless you call "unregisterDevice" function. As there is no API for Android to check push registration status. You can vote up here for this feature: https://code.google.com/p/android/issues/detail?id=38482