Helpshift’s Legacy SDKs (SDK Version <=7.x.x) will see end of life as of 31 Dec 2022 and end of support as of 31 March 2023.
In order to use SDK 7.5.0 for your app, Helpshift recommends you to follow the below steps. If you have questions or feedback, please Contact Us
If you are looking to upgrade from a version older than 7.x, please make sure to go through the upgrade guides for 6.x and 4.x
Download the SDK from here.
You will need to update integration code to use "Support.getInstance()" in the Helpshift initialisation call.
If your codebase has references to Campaigns
code, then the compilation fails after the upgrade. You will need to remove all the references to Campaigns code from the codebase.
Following are the changes:
Core.install(All.getInstance())
call with Core.install(Support.getInstance())
Campaigns
apis from codeimport com.helpshift.Core; import com.helpshift.support.Support; import com.helpshift.InstallConfig; import com.helpshift.exceptions.InstallException; ... ... InstallConfig installConfig = new InstallConfig.Builder().build(); ... Core.init(Support.getInstance()); try { Core.install(this, "YOUR_API_KEY", "YOUR_DOMAIN_NAME", "YOUR_APP_ID", installConfig); } catch (InstallException e) { Log.e(TAG, "invalid install credentials : ", e); }
import com.helpshift.Core; import com.helpshift.support.Support; ... ... HashMap config = new HashMap(); ... Core.init(Support.getInstance()); try { Core.install(this, "YOUR_API_KEY", "YOUR_DOMAIN_NAME", "YOUR_APP_ID", config); } catch (InstallException e) { Log.e(TAG, "invalid install credentials : ", e); }
android { defaultConfig { ... resConfigs "en", "fr" } }