Skip to content
This repository was archived by the owner on Jan 7, 2026. It is now read-only.

privy-io/expo-bare-starter

Repository files navigation

Privy Expo Starter (bare)

This repository is archived. For up-to-date examples, please visit github.com/privy-io/examples.

This demonstrates a minimal working installation of the privy sdk in an bare expo app. We recommend reading the documentation for a more detailed guide.

Setup

  1. Install dependencies

    yarn
  2. Configure an app client in your Dashboard, and add your Privy app ID and app client ID in app.json

    ...
     "extra": {
       "privyAppId": "<your-app-id>",
       "privyClientId": "<your-client-id>"
     }
    ...
  3. Configure your application identifier in app.json. This should match the bundle identifier for your app in the app store.

    ...
     "ios": {
       "bundleIdentifier": "com.example.myapp"
     },
     "android": {
       "package": "com.example.myapp"
     }
    ...

    Make sure to run yarn expo prebuild to update the native iOS and Android projects after doing so.

  4. If you are making use of passkeys, ensure that you have an associated website for your application. Once you have this your app.json should be updated as follows:

    ...
    "associatedDomains": ["webcredentials:<your-associated-domain>"],
    ...
    "extra": {
       ...
       "passkeyAssociatedDomain": "https://<your-associated-domain>"
     },
    ...

    Make sure to run yarn expo prebuild to update the native iOS and Android projects after doing so.

Run the app

# expo go
yarn run start

# ios
yarn run ios

# android
yarn run android

About

Demonstrates usage of the privy expo sdk in a bare-minimum project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors