Android - Opt-in / Opt-out management from the device settings

By default, push notifications are enabled on Android devices. Nevertheless, as long as the user has not opened the application, he is not recognized by Accengage. As soon as the user opens the application, it will generate a profile in Accengage, then you'll be able to send him notifications. 

If the user wants to disable push messages, he can do it from different areas. 

1. The user can disable push notifications from your application settings. In this case, the data will be reported by our SDK by using the method A4S.get(context).setPushEnabled(false); Then, the profile will be declared as opt-out in your database. 

2. The user can also disable push notifications from the device settings. He has the possibility to do it from the system settings or from the app dashboard settings. 


In both cases, the way to manage opt-in and opt-out users, as described below. 

As soon as the user became opt-out from the device settings, the OS will stop displaying your push notifications.

As a reminder, the push sending is managed by Accengage, however, the push display is managed by the OS. 

On our side, the information on the opt-in is collected at the opening of the application and so at the launching of the SDK.

Therefore, if a user becomes opt-out from the OS settings and doesn't reopen your app, Accengage will continue to send him push notifications. However, the OS will not display the message and will report us bounces. 

After receiving one bounce, the user is no longer counted as opt-in in our reporting tool. Nevertheless, we will continue to send him push notifications, and so get back bounces from the OS. After receiving 3 bounces, Accengage stops sending notifications to the profile. 

If a user wishes to become opt-in again and enable notifications from the device settings. We will collect this status modification only when the user reopens the application.

Please feel free to contact our Support team if you have any additional questions. 

Was this article helpful?
0 out of 0 found this helpful
Submit a request