wrote:
Hi Nitesh,
That should be a feature of the plugins that provide Notification support (OneSignal, PushWoosh, Firebase). You have detailed instructions on how to configure OneSignal and PushWoosh.
In order to stop receiving notifications on the device, you'd simply need to de-register the device from the Notification system (I haven't used the plugins, but the Cordova SDK for OneSignal allows unsubscribing, the same goes for the Cordova Plugin for Pushwoosh, through this API call).
Hi
,thanks for the reply , i have used Pushwoosh for notification and also used registerdevice and unregisterdevice action to toggle notification from pushwoosh.
But my requirement is, if a user has turned off notifications for my app from its device's setting(android or iPhone) than if a user turns On notification from app receive notification then it should also allow overwriting the setting made from device to receive notification .