Orchestration SDKs

Before you begin

PingOne React Native

To successfully complete this tutorial, refer to the prerequisites and compatibility requirements in this section.

The tutorial also requires a configured PingOne instance.

Compatibility

React Native

This sample app requires React Native 0.80.1 or later.

iOS

This sample app requires iOS 16.0 or later.

Android

This sample app requires Android 10 (API level 29) or later.

PingOne
  • Your PingOne instance must have DaVinci enabled.

DaVinci flows

Ensure your flows only use supported connectors, capabilities and fields for user interactions:

Prerequisites

The React Native development environment must be fully configured before you begin.

Follow the official React Native environment setup guide and ensure the following tools are installed:

Node.js and Yarn

Install Node.js version 20 or later.

This project uses Yarn. Install Yarn by running:

corepack enable
Xcode (iOS only)

Download and install Xcode from the Mac App Store.

Xcode 16 or later is recommended.

Ruby and Bundler (iOS only)

Ruby 3.3.6 or later is required to manage CocoaPods.

Install Bundler with:

gem install bundler
CocoaPods (iOS only)

CocoaPods is installed locally during the tutorial.

Android Studio (Android only)

Download and install Android Studio.

An Android emulator or physical device is required to run the app.

Java (Android only)

JDK 21 is required by the current Ping Android SDK dependencies used by the sample app.

Check that you are correctly setting the JAVA_HOME environment variable.

For example, a ~/.zshrc file might contain the following:

export JAVA_HOME=$(/usr/libexec/java_home -v21)
export PATH="$JAVA_HOME/bin:$PATH"
keytool (Android only)

keytool is part of the Java Development Kit and is used to generate the debug signing keystore required for the Android build.

Server configuration

You must configure your PingOne instance for use with the DaVinci module.

Ask your PingOne administrator to complete the following tasks:

  • Configure a DaVinci flow

  • Create a DaVinci application

  • Configure PingOne for DaVinci flow invocation

To learn how to complete these steps, refer to Launching a flow with a Ping SDK in the PingOne DaVinci documentation.

The OAuth 2.0 client must allow the redirect URI used by the sample app. You will enter the client ID, discovery endpoint, redirect URI, scopes, and, optionally, the DaVinci flow policy in the sample app’s .env file.