If you’re looking for information on how to integrate the SDK, check out our

Universal Checkout integration guide.

Step 1. Install the SDK

Add the SDK package using your preferred package manager:

BASH
# With yarn
yarn add @primer-io/react-native

# With npm
npm i @primer-io/react-native --save

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 import Primer in your application

TS
import { Primer, PrimerSettings } from "@primer-io/react-native";

// for example
Primer.configure({
  /* options */
} as PrimerSettings);
Primer.showUniversalCheckout(clientToken);