Primer - Instantly deploy native screens personalized for every new user.
In order to enable mParticle’s integration with Primer you will need the SDK Token for your Primer project, and to manually set up and start the Primer SDK.
Whitelist Primer’s domain:
//XML code for whitelisting Primer's domain <key>NSAppTransportSecurity</key> <dict> <key>NSExceptionDomains</key> <dict> <key>goprimer.com</key> <dict> <key>NSIncludesSubdomains</key> <true/> <key>NSThirdPartyExceptionAllowsInsecureHTTPLoads</key> <true/> </dict> </dict> </dict>
The Primer integration only supports the iOS platform and you must add the Primer Kit to your app.
//Initialize the Primer Kit [Primer startWithToken:@"YOUR_SDK_TOKEN"]; //Present the onboarding experience [Primer presentExperience];
-application:didFinishLaunchingWithOptions:prior to starting the mParticle SDK
-viewDidLoadof your first view controller to be presented to the user on app load.
For more information, and additional optional integration features, please refer to the Primer iOS SDK Documentation.
Was this page helpful?