Android Accengage migration

Migration from Accengage SDK to Airship SDK.

This guide will help you migrate from the Accengage platform to the Airship platform by installing the Airship-Accengage module. This module allows you to continue sending messages to your entire audience (upgraded, non-upgraded, net new users) through the Accengage platform while upgrading users to the Airship platform. After all or most of your users have updated to the latest version of your app, you can use the Airship platform exclusively for your messaging and remove the Airship-Accengage module.

For more information about the migration, please visit our documentation about Accengage Upgrade.

Setup Instructions

  1. Remove A4SSDK and Firebase dependencies as well as any additional Accengage methods from your build.gradle file.

    dependencies {
        // ...
        compile 'com.ad4screen.sdk:A4SSDK:3.6.5'
        compile 'com.ad4screen.sdk:plugin-firebase-messaging:2.3'
  2. Remove Accengage credential keys from strings.xml (Partner ID, Private Key, Sender ID, etc.)

        // ...
        <string name="acc_partner_id">YOUR_PARTNER_ID</string>
        <string name="acc_private_key">YOUR_PRIVATE_KEY</string>
        <string name="acc_sender_id">gcm:your_sender_id</string>
        <string name="acc_no_geoloc">true</string>
  3. Remove Accengage Broadcast Receivers in your AndroidManifest.xml.

  4. Install the Airship SDK.

  5. Add the Airship-Accengage module to your build.gradle.

        // Airship - Accengage
        implementation "$airshipVersion"

  6. Start the Airship SDK.

  7. You may keep the Accengage UpdateDeviceInformation method calls, as they will still work in the Airship SDK.


    The increment/decrement methods are not supported in the Airship SDK.

    Accengage method calls can also be replaced with Airship method calls, if needed. See the documentation on attributes for more details.

  8. Remove the remaining Accengage method calls and replace them with Airship methods if needed. Here are some useful links to help you migrate :

  9. Airship provides a data opt-out feature to help customers comply with applicable privacy opt-out laws. For more information, see Data Collection.