Skip to main content
@trueorigin/react-native is an Expo module around the TrueOrigin iOS SDK. iOS only for now: on Android and web every call is a no-op and the attribution status is unsupported. Requirements: Expo SDK 50 or later (any Expo app, or a bare React Native app with Expo Modules installed), iOS 15.1 or later, Xcode 16 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.
Next: read the attribution in your app.

Options

API

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

Privacy

The package contains the same iOS binary as the iOS SDK, with the same privacy manifest. It does not read the IDFA or the IDFV.