If you’re looking for information on how to integrate the SDK, check out ourUniversal Checkout integration guide.
Step 1. Install the SDK
Add the SDK package using your preferred package manager:BASH
Step 2. Install the iOS dependencies
After adding the SDK, navigate to the/ios folder and run pod install to ensure all iOS dependencies are properly installed.
Step 3.
Then importPrimer in your application
TS
Android library versions
Some payment methods and features, such as Klarna and 3D Secure, need a separate Primer Android library. The integration guide for each one shows the library to add toandroid/app/build.gradle.
Add these libraries without a version:
build.gradle
io.primer:bom) to your app. The BOM sets each Primer library to the version that matches the Android SDK bundled with the React Native SDK, and overrides any version you set yourself.
On earlier React Native SDK versions, check the React Native SDK changelog for the library version that matches your SDK.