How to allow users to unsubscribe from push notifications on Android?

You may want to offer your users a system to disable push notifications from your app.

To ensure consistency between the notification opt-in status shown in your app and the system settings, we recommend redirecting users to the phone's settingsarrow-up-right to manage their notification preferences. To get the right toggle switch state, use the following methodarrow-up-right.

2. Disable notifications display at the SDK level

On Android, the notifications display is managed at the SDK level. So, you can also choose to allow users to disable push notifications directly from the app (through a toggle system, for example):

circle-exclamation

Last updated