Orchestration SDKs

Installing the Journey module in React Native

PingOne Advanced Identity Cloud PingAM React Native


The Journey module for React Native is available as an npm package at @ping-identity/rn-journey.

To install the module into your React Native project, use yarn or npm as follows:

  • yarn

  • npm

yarn add @ping-identity/rn-journey
npm install @ping-identity/rn-journey

The Journey module depends on the Core module. Install it as well if it is not already present in your project:

  • yarn

  • npm

yarn add @ping-identity/rn-core
npm install @ping-identity/rn-core

After installation, import the factory function into your app React Native app:

import { createJourneyClient } from '@ping-identity/rn-journey';

Android

No additional linking steps are required for Android. The native module is resolved automatically at build time.

iOS

After installing, run pod install in your ios/ directory to link the native dependencies:

cd ios && pod install