Setup
Learn how to setup the Dojo iOS SDK.
The Dojo iOS SDK is available on CocoaPods and Swift Package Manager.
- CocoaPods
- Swift Package Manager
Podfile
pod 'dojo-ios-sdk-drop-in-ui', :git => 'git@github.com:dojo-engineering/dojo-ios-sdk-drop-in-ui.git', :tag => '1.3.2'
pod 'dojo-ios-sdk', :git => 'git@github.com:Dojo-Engineering/dojo-ios-sdk.git', :tag => '1.4.0'
- Run the following command to install these pods:
pod install
- Go to File > Add Packages... and in Repository URL, add
https://github.com/dojo-engineering/dojo-ios-sdk-drop-in-ui. - Enter the latest version number of our SDK.
- In target of your app, add
dojo-ios-sdk-drop-in-ui. - Click Add package.
info
- To get the latest version of the mobile SDK, run
pod update. - Ensure that you exclude payment-related fields from tracking if you are using screen recording or session recording services like LogRocket or UXCam. You can do that by setting
themeSettings.analyticsExcludedFieldsIdentifierwith your identifier value.