Installing the DaVinci module in React Native
PingOne React Native
The DaVinci module for React Native is available as the @ping-identity/rn-davinci npm package.
The module requires the @ping-identity/rn-core package. Install both packages in your React Native project:
-
yarn
-
npm
yarn add @ping-identity/rn-core @ping-identity/rn-davinci
npm install @ping-identity/rn-core @ping-identity/rn-davinci
If your app needs native-backed OIDC token storage or logging, you can also install the corresponding integration packages:
yarn add @ping-identity/rn-storage @ping-identity/rn-logger
After installation, import the client factory into your app:
import { createDaVinciClient } from '@ping-identity/rn-davinci';