The React Native SDK wraps the native OMS Wallet SDKs for iOS and Android. It exposes module-level functions for wallet auth, session state, signing, transactions, ID tokens, access management, balance reads, and unit conversion.Documentation Index
Fetch the complete documentation index at: https://docs.polygon.technology/llms.txt
Use this file to discover all available pages before exploring further.
Install
Install the React Native wrapper package from npm.io.github.0xsequence:oms-client-kotlin-sdk:0.1.0-alpha.1, and iOS resolves oms-client-swift-sdk 0.1.0-alpha.1.
Bare React Native apps are supported through normal autolinking. Expo apps need a development build, Expo prebuild/EAS Build, or the bare workflow because Expo Go cannot load custom native code.
Android apps need minSdk 26, compileSdk 34 or newer, and Java 17 compile options. iOS apps need deployment target 15.0 or newer.
Configure The SDK
Callconfigure once before using wallet, signing, transaction, balance, or access APIs.
| API Area | Use |
|---|---|
| Authentication | Email OTP, OIDC ID-token auth, OIDC redirect auth, wallet selection, and wallet creation. |
| Session | Wallet address lookup, session metadata, ID tokens, access management, and sign out. |
| Blockchain | Supported-network listing, native token transactions, contract calls, signing, verification, fee selection, and transaction status checks. |
| Balances & History | Token balance and native token balance reads. |
| Unit helpers | parseUnits and formatUnits for raw base-unit string conversion. |
Authenticate With Email
Email auth is a two-step OTP flow.completeEmailAuth verifies the OTP, loads an existing wallet for the user, or creates one when needed. Wallet metadata and session state are persisted by the underlying native SDKs.
Send A Transaction
After authentication, send a native token transaction withsendTransaction. Values are raw base-unit integer strings.
On testnets, fee options are automatically sponsored, so Polygon Amoy is a good first network for testing.