2 min read

The React Native SDK opens your Footprint onboarding flow in an in-app browser.

Minimum version requirements

Check your environment against these versions before installing:

Dependency Minimum version
React Native >= 0.76

Installation

  1. Install the SDK.
bash
1npm install @onefootprint/footprint-react-native
  1. Install the required native dependencies.
bash
1npm install react-native-inappbrowser-reborn
  1. On iOS, install the pods.
bash
1cd ios && pod install

Device intelligence

If your playbook uses device-intelligence rules, install Fingerprint to collect the signals those rules need. Fingerprint is a third-party provider. Its SDK is optional: onboarding completes without it, but without device-intelligence signals. If your app already bundles Fingerprint, you can leave out the dependency to avoid a duplicate native framework.

Fingerprint requires React Native 0.80 or later with the New Architecture, iOS 15.1, and Android API 24. To set it up:

  1. Install the peer dependency.
bash
1npm install @fingerprint/react-native
  1. On iOS, install the pods.
bash
1cd ios && pod install
  1. On Android, add the Fingerprint Maven repository to the allprojects block in android/build.gradle.
groovy
1allprojects {
2    repositories {
3        google()
4        mavenCentral()
5        maven { url 'https://www.jitpack.io' }
6        maven { url 'https://maven.fpregistry.io/releases' }
7    }
8}

Next steps

  • Onboarding starts an onboarding from your app and handles the onboarding ID it returns.