Installation

React Native Inform SDK Wrapper

Auth with Artifactory

Validic React Native packages are hosted in a private npm registry powered by Artifactory. You must configure npm or yarn with an auth token to install them. If you don't have access to Artifactory, please contact Validic support.

Generate an npm Auth Token in Artifactory

  1. Log in to Artifactory
  2. Click your user icon in the top right corner, then click "Set Me Up"
  3. Choose "npm"
  4. Select or type in the mobile-npm-release repo
  5. Enter your password and click "Generate Token & Create Instructions"
  6. Copy the generated auth token

Configure Your Project to Access Validic React Native Packages

Add the following to your project's .npmrc file (or ~/.npmrc for global configuration):

@validic-mobile:registry=https://validic.jfrog.io/artifactory/api/npm/mobile-npm-release/
//validic.jfrog.io/artifactory/api/npm/mobile-npm-release/:_authToken=<YOUR_AUTH_TOKEN>

Replace <YOUR_AUTH_TOKEN> with the token generated in the previous step.

Add to project

yarn add @validic-mobile/react-native-inform-core

This example adds the Session module to your project.