Upgrading from 6.x to 7.x
Important
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.
Upgrading from 6.x to 7.x
The Helpshift SDK v7.x is a major update and we have deprecated some APIs. If you have questions or feedback, please Contact Us
Note
Please replace all the old files with new files.
List of deprecated APIs
Deprecated API | New API |
---|---|
[HelpshiftCore loginWithIdentifier: withName: andEmail:] | [HelpshiftCore login:(HelpshiftUser *)] |
[HelpshiftCore setName:andEmail:] | [HelpshiftCore login:(HelpshiftUser *)] |
[HelpshiftSupport setUserIdentifier:] | [HelpshiftCore login:(HelpshiftUser *)] |
Logging in users
You can login your users using the new login API.
Note
- Users will be able to continue speaking on an open issue only if you were using the Login API. If you were using setUserIdentifier (now deprecated), if the user has an open Issue, using the login API will result in the creation of a new Issue. However, the previous Issue will be available to Agents under 'Other Issues'
Setting Name and email
It is expected that you will pass the user's name, email using the login API.
Setting User Identifier
It is expected that you will pass the user identifier using the login API.