Is there any callback my application receives when user blocks a Notification Channel created by my application OR it can be detected later ?
For Android phones, this is how you can retrieve blocked messages. Open the Messages app, and click the three dots on the top right corner of the screen. From that drop-down menu, choose “Settings.” From there, tap on “Block numbers and messages.” From there, go to “Blocked messages.”
Silent: Your phone won't make a sound or vibrate. But the notification will show up when you swipe down from the top of your screen.
Starting from Android P, there is a system broadcast for this: https://developer.android.com/reference/android/app/NotificationManager.html#ACTION_NOTIFICATION_CHANNEL_BLOCK_STATE_CHANGED
It's impossible to reliably sync our backend push servers with the channel settings without this (you have to poll...)
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