Skip to main content

Node Package Manager


We use NPM to manage and install the SDK package.

  1. At the top level of your project run npm install @osano/osano-cmp-react-native

iOS Native Module installation

NPM uses cocoapods to install the native iOS portion of modulesCocoaPods

  1. Install Cocoapods using Cocoapods - Getting Started.
  2. Run pod install from inside the iOS folder in your project

Android Native Module installation

  1. Run a gradle sync after @osano/osano-cmp-react-native has been added to your package manager