2 min read

The Expo 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
Expo Last 3 major versions

Installation

  1. Install the SDK.
bash
1npm install @onefootprint/footprint-expo
  1. Install the required peer dependencies.
bash
1npm install expo-linking expo-web-browser
  1. On iOS, install the pods.
bash
1npx 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 Expo SDK 54 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. Add Fingerprint's config plugin to app.json. It adds the Maven repository that hosts Fingerprint's Android SDK.
json
1{
2  "expo": {
3    "plugins": ["@fingerprint/react-native"]
4  }
5}
  1. Rebuild the native code.
bash
1npx expo prebuild

Next steps

  • Onboarding starts an onboarding from your app and handles the onboarding ID it returns.
  • WebView integration renders the flow in a native sheet you control instead of an in-app browser.