Skip to main content
@trueorigin/react-native is an Expo module around the TrueOrigin iOS and Android SDKs. On web every call is a no-op and the attribution status is unsupported. Requirements: Expo SDK 53 or later (any Expo app, or a bare React Native app with Expo Modules installed); iOS 15.1 or later and Xcode 16 or later; Android 7.0 (API 24) or later.

Install

The module needs a new native build. It is not part of Expo Go.

Configure

Your SDK key is shown when you create the app, and can be rotated in the dashboard under Settings → SDK key. It is a public client key, like RevenueCat’s: keep it in your app’s public config.
On Android, the app’s Android URL in the dashboard must be its Google Play URL: see how Android installs match. Next: read the attribution in your app.

Options

API

Types are exported: Attribution, AttributionStatus, ConfigureOptions. Universal Links are optional and iOS only. To use them, add the associated domain in app.json, then follow Universal Links for the dashboard side:

Privacy

The package contains the same binaries as the native SDKs: the iOS SDK with its privacy manifest, and the Android SDK. It does not read the IDFA, the IDFV, Android’s advertising ID or the Android ID. For Google Play’s Data safety form, see Google Play Data safety.