Upgrading to 5.4.0 and above
The Helpshift SDK v5.4.0 is a major update and we have made some important changes. If you have questions or feedback, please Contact Us
Framework packaging for SDK
With version 5.4.0, Helpshift SDK is packaged as a dynamic framework rather than a static library. Please follow the steps mentioned here if you are migrating from an older version of Helpshift SDK.
- Remove all Helpshift SDK related files from the project, which are added from
ios/sdkfolder present in Helpshift Cocos2d-x package.
- Remove all wrapper files for Helpshift SDK from the project, which are added from
ios/Classesfolder present in Helpshift Cocos2d-x package.
No changes are needed for custom theming plists and custom localization bundle when migrating. The old theming files and localization bundle will continue to work as expected.
In case you have made changes to HelpshiftConfig.plist or HelpshiftConfigDark.plist, please rename the files to HelpshiftCustomConfig.plist and HelpshiftCustomConfigDark.plist respectively.
/usr/lib/swiftfrom runpath search paths in the build settings, if other SDKs in your app don’t need it.
Library Search Pathsin the build settings, if other SDKs in your app don’t need it.
-ObjCflag from 'Other linker flags' section in the build settings, if other SDKs in your app don’t need it. After doing these, please follow the steps here to integrate the framework version of the SDK.
Objective C Code
- If you have added any instances of
#import ”HelpshiftCore.h”please replace it with
- Remove all Helpshift related
#importdirectives from your app’s Bridging header
- Add the
import Helpshiftdirective in Swift files using Helpshift APIs