Add Passage

Add Passage to your React Native app

Prerequisites

If you don’t already have a React Native project and just want to try out Passage, consider cloning our React Native Example App.

Installation

You can install Passage React Native with npm or yarn:

// npm
npm i --save @passageidentity/passage-react-native

// yarn
yarn add @passageidentity/passage-react-native

// install iOS cocoapod
cd ios && pod install

To access Passage methods, import the package.

import Passage, { PassageUser } from '@passageidentity/passage-react-native';

Android app passkey configuration

To finish setting up your React Native app for passkeys on Android, please follow the instructions here:

pageCross Platform Android Configuration

iOS app configuration

To finish setting up your React Native app for passkeys on iOS, please follow the instructions here:

pageCross Platform iOS Configuration

You did it! πŸŽ‰

The hard part is over! It's time to get started using Passage.

Last updated