The Privy Expo SDK allows you to integrate Privy into a bare React Native or Expo app. With Privy, your app can authenticate your users across email, phone, social, and wallet login methods and securely create embedded wallets for them to take onchain actions.
Install along with peer dependencies using npm
:
npx expo install expo-apple-authentication expo-application expo-crypto expo-linking expo-secure-store expo-web-browser react-native-passkeys react-native-webview @privy-io/expo-native-extensions @privy-io/expo
Install polyfills, these should be imported as early as possible in your application.
npm i --save fast-text-encoding react-native-get-random-values @ethersproject/shims
If you are using the @privy-io/expo/ui
import, you will need to install the following dependencies:
npx expo install react-native-svg expo-clipboard react-native-qrcode-styled react-native-safe-area-context viem
If you are using the @privy-io/expo/smart-wallets
import, you will need to install the following dependencies:
npx expo install viem permissionless
See Privy's Expo SDK guide for setup and usage.
Our changelog contains the latest information about new releases, including features, fixes, and upcoming changes.
We use Semantic Versioning to track breaking changes.