iOS SDK
Setting up the Conscent.ai SDK (Loyalty Platform) in your Xcode project
Initialize SDK
The following guide provides steps to initialize the Conscent.ai SDK for your Xcode project. Please follow all the steps below carefully.
Minimum iOS Version required is: 14
Add Dependencies
Within the target block of your project's Podfile, define the Conscent.ai dependency.
Then, run the following command from the Terminal from the root of your Xcode project's directory to install the dependency.
If pod install fails for some reason, run pod update and pod repo update and try again.
Pair SDK with Dashboard
Register Package Name
Open your Conscent.ai Dashboard and go to Settings > Basic Details and register a Package Name.
Set Package Name & Initialize SDK
Initialize the SDK anywhere in your project.
partner_id details is available in settings page under basic details.
user_id can be any string that will be shown in reports. This must be unique and cannot be changed for any User later on.
Last updated