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.

Install

You can install Passage React Native with npm or yarn:

Via NPM

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

Via yarn

yarn add @passageidentity/passage-react-native

iOS cocoapod

cd ios && pod install

Import

To access Passage methods, import the package.

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

Next Steps

Android configuration

Follow the Android cross platform configuration guide.

iOS configuration

Follow the iOS cross platform configuration guide.