Just wondering if this is actually possible. So I can stop all notifications kind of like how notification center has the option to stop all notification.
I don't believe this is possible, but wondering what you might think.
You can disable push notifications on Android by going into the Settings > Notifications options. Similar to iOS, Android lets you turn off push notifications for individual apps or use a 'Do not disturb' mode.
Fortunately, you can set repeating notifications with PushEngage. Repeat notifications are scheduled and automated push notifications for a recurring event. You can set them up once, specify a schedule, and you're done.
MoEngage stitches together all channels seamlessly and complements them with features like Dynamic Product Messaging, Advanced Analytics, Intelligent Delay Optimization, and Push Amplification. Arjya Nathvani.
Unlike push notifications, in-app messaging allows you to reach the user when they are already engaging with your app.
[[UIApplication sharedApplication] unregisterForRemoteNotifications]
should be used, in Objective-C.
UIApplication.shared.unregisterForRemoteNotifications()
in Swift.
The push notifications are sent from your server... so you should implement such a method yourself and remove or disable the device in the database on your server where you store the active devices.
If you only disable them locally on your device your server will still send messages until you get notification from the feedback service.. which you should check...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With