Set up @abstraxn/signer-react-native in a new or existing React Native / Expo app.

Packages

Required native peers

Follow each library’s install steps for Expo or bare RN (config plugins / pod install as needed).

Crypto polyfill

At the top of your entry file (index.js / App.tsx):

Provider config

Important options

Storage model (vs web)

React Native does not use IndexedDB or cookies the same way as the browser SDK:
  • Tokens and user data → @react-native-async-storage/async-storage
  • Device session signing → keychain stamper (react-native-keychain) by default (X-Stamp)
  • Passkeys → OS Credential Manager / Passkeys via react-native-passkey + Turnkey RN stamper
Core 0.1.2+ keeps stored tokens on transient refresh failures (NetworkError for offline / 5xx / 429) instead of treating them as sign-out. Only HTTP 400/401/403 on refresh raise AuthenticationError.

Next

Continue with Authentication.