Install the SDK
The SDK supports React Native 0.85 or newer with React 19.2 or newer. Android requiresminSdk 24, compileSdk 36, Java 17, and Android 10 or newer at runtime. iOS requires deployment target 15.1 or newer and Xcode 26 for bare React Native; Expo apps use their Expo SDK’s iOS and Xcode minimums.
- Bare React Native
- Expo
spm_dependency, so keep the react_native_post_install call in your Podfile’s post_install hook, as in the React Native template.Create the client
Create exactly oneOMSWallet instance and reuse it for the lifetime of the app. Constructing another instance replaces the native client behind the first instance, and calls on the earlier instance throw an error.
wallet.ts
omsWallet.wallet for authenticated wallet operations. Use the independent omsWallet.indexer client for read-only balance and history queries.
Authenticate with email
Request a one-time code, then complete authentication with the code entered by the user:wallet is undefined only when you request manual selection.