Skip to main content
Complete guide to integrating Phantom Connect in a React Native app.

1. Install dependencies

If you’re using Expo, use npx expo install to ensure compatibility. For bare React Native projects, you can install the packages directly with npm.

2. Configure app scheme

Add your custom scheme to app.json:
For bare React Native projects, configure deep linking in your native project files. See React Native deep linking documentation for details.

3. Create the app entry point

The polyfill must be the first import:
The react-native-get-random-values import must be the very first import in your app’s entry point, before any other imports.

With Expo Router

Without Expo Router

4. Create the wallet screen

5. Configure Phantom Portal

Phantom Portal is not accepting new applications at this time. New sign-ups for Phantom Connect SDK access and new app submissions to the Phantom app directory are paused. Existing Portal apps and App IDs are not affected.
  1. Go to phantom.com/portal
  2. Select an existing app
  3. Add your redirect URL (e.g., myapp://phantom-auth-callback) to redirect URLs
  4. Copy your App ID