Our documentation is changing, please click here to enjoy it!

Skip to end of metadata
Go to start of metadata

Activate Logs

Some things don't seem to work? You can enable logging in order to see what is going on.

To do so, simply add the following string:


Plus, you can disable the toast displayed when application is started:


Stopping the SDK

If a user wants to opt-out from tracking, you can use this static method:

Where "this" is any Android context like: Application, Activity, BroadcastReceiver...

If you want to know whether the user is being tracked or not, use the following static function:

The "do not track" mode, while activated, will disable all SDK functionalities (tracking, push notification reception, in-app messages, notification statistics...).

Splash Screen

Please note that the Accengage SDK must be integrated in the SplashScreen like other Activities.

The Activity after the Splash Screen have to be launch after the A4S.startActivity() to be able to process the Push Action. For exemple, you cannot redirect directly in the onCreate() method.

You may also use setPushNotificationLocked(true) and setInAppDisplayLocked(true) in the OnCreate() method of your SplashScreen to block processing a Push Action or displaying InApp messages. Once you are ready, the SDK process a push action or display InApp messages (the right activity is launched, for example) call setPushNotificationLocked(false) or setInAppDisplayLocked(false) respectively.

If you still have some issues with your SplashScreen or RichPush, please take a look at this page: Click here

How to find the SDK version you're using?

There are two ways to find the version of the SDK:

  1. Programmatically by accessing to 

  2. By checking the log messages: 

How to visualize network requests from Accengage SDK ?

Since SDK 3.1.8 and 3.2.2, we added tags to network requests to be able to visualize them through DDMS Network Statistics, for example :

The Accengage SDK uses the 0x00413453 tag.

DeviceInfo doesn't contain IDFV

You are facing to those logs repeating again and again ?


This issue can be due to the use of the annotation @UseA4S. Indeed, we noticed that this plugin may not work with the new Android compiler versions.

This feature will be removed in the further versions of the SDK. Please, use a manual integration instead of the annotation pluging integration.

Disable Badges (3.5.0+)

If you want to disable Badges feature (because too many permissions are asked for example), exclude our Badge plugin from the Accengage SDK dependency:

Fullscreen Activity with notification and navigation bars

Your InApp appears under your notification bar and your navigation bar ? Here are two solutions :

  1. You can use the InApp display customization to include your inapp into a specific view in your layout.
  2. You can use our method A4S.setOverlayPosition(layoutParams) to add margin to the inapp like that :
  • No labels