Node Package Manager
We use NPM to manage and install the SDK package.
- 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
- Install Cocoapods using Cocoapods - Getting Started.
- Run
pod install
from inside the iOS folder in your project
Android Native Module installation
- Run a gradle sync after
@osano/osano-cmp-react-native
has been added to your package manager