I would like to apply the native feature of ON/OFF toggle for push notifications at app level. When i applied the same in my app and when I switch OFF, i am unable to receive notifications. However, when I switch ON, i am not receiving notifications. To have my notifications enabled, I need to uninstall and then install my app.
any possible solution is appreciated.