Migration guide to Support SDK

If you are upgrading to Support SDK then we highly recommend you to upgrade to our latest version

Migrating to Support SDK

Remove Campaigns code

Please remove all the code related to Campaigns features that you might have added. When you replace the Campaigns SDK dependency in your app's build.gradle file, you might get some compilation errors. These errors will be related to campaigns code and can be removed safely.

Update gradle dependency to Support only artifact

  • Use the Support build artifact id com.helpshift:android-helpshift-aar
  • Use the SDK version as per your requirements.
    dependencies {
        implementation 'com.android.support:design:28.0.0'
        implementation 'com.android.support:recyclerview-v7:28.0.0'
        implementation 'com.android.support:cardview-v7:28.0.0'
        implementation 'com.helpshift:android-helpshift-aar:7.9.2'
    }

Fix the SDK initialization code

Initialize the SDK with Support.getInstance() instead of All.getInstance()

// Please remove the following code for SDK initialization

Core.init(All.getInstance());

// Please use the following code to initialize the SDK

Core.init(Support.getInstance());