@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.Options
API
Types are exported:
Attribution, AttributionStatus, ConfigureOptions.
Universal Links
Universal Links are optional. To use them, add the associated domain inapp.json, then
follow Universal Links for the dashboard side: