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
- Log in to Artifactory
- Click your user icon in the top right corner, then click "Set Me Up"
- Choose "npm"
- Select or type in the
mobile-npm-releaserepo - Enter your password and click "Generate Token & Create Instructions"
- 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-coreThis example adds the Session module to your project.
Updated 26 days ago
