Skip to content

ForgeRock/ping-react-native-sdk

Ping Identity License Yarn codecov

React Native Ping SDK

This repository demonstrates the Ping Identity React Native SDK — a modular setup where native SDKs (Storage, OIDC, Browser, Journey, etc.) are wrapped as independent TurboModules and integrated into a sample React Native app.

Please visit our documentation site for more information.


Getting Started

Requirements

This monorepo targets React Native 0.80.1 as the plug-and-play baseline version.

The SDK supports both React Native New Architecture (the sample app runs with RCT_NEW_ARCH_ENABLED=1) and the legacy bridge architecture.

Platform compatibility

Platform Minimum version
iOS 16.0
Android API 29+

Android build settings

The repository packages use:

  • compileSdkVersion: 36
  • targetSdkVersion: 36
  • minSdkVersion: 29
  • kotlinVersion: 2.2.10 (package default)

iOS deployment target

Set your iOS deployment target to 16.0 in your app Podfile:

platform :ios, '16.0'

Setup: Prepare Packages

Install all workspace dependencies and rebuild SDK packages:

yarn packages:install
yarn packages:build

This ensures all local modules under packages/* are properly bootstrapped before running the sample app.


Run the Sample App

Android

yarn sample:clean-install
yarn sample:run:android

iOS

yarn sample:clean-install
yarn sample:run:ios

Notes

  • sample:clean-install clears and reinstalls dependencies inside the sample app (PingSampleApp).
  • TODO(testing): remove the temporary react-test-renderer deprecation-warning suppression in packages/journey/jest.setup.js once @testing-library/react-native no longer depends on it.

Monorepo Structure

react-native-pingidentity/
├── packages/
│   ├── browser/
│   ├── core/
│   ├── device-client/
│   ├── device-id/
│   ├── device-profile/
│   ├── fido/
│   ├── journey/
│   ├── logger/
│   ├── oidc/
│   ├── storage/
│   └── types/
└── PingSampleApp/

Each package is published independently and can be consumed as a standalone NPM module, or tested together using the sample app.


Feedback

Contributing

We welcome contributions to the React Native Ping SDK! Please read the guidelines on how to contribute, including development workflow and best practices:


License

This project is licensed under the MIT License - see the LICENSE file for details

About

Ping React Native SDK

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors