This example app includes a mobile application powered by React Native. This app was created with npx react-native init
This application demonstrates a mobile friendly signup and sign in flow powered by Stytch. In this example the following Stytch products are used:
Create a Stytch account
Sign up and create a new project in Stytch.
Stytch Dashboard Configuration
Open the Stytch Dashboard Frontend SDK Configuration.
- Enable the SDK in your project.
- Add
com.stytch.sdk.rn.example
as a Bundle ID.
Clone repository
git clone https://github.com/stytchauth/stytch-react-native-example.git
cd stytch-react-native-example
Copy the .env.template
file and use the public token found in your Stytch project dashboard.
Install Dependencies
npm install
# on iOS
npx pod-install
Start Application
Note that your development environment must be configured to run react native applications before you can run this demo. For more information, see the React Native docs for environment setup.
# open on iOS
npm run ios
# or on Android
npm run android
Learn more about the React Native SDK.