Installation
Please note that the Flagship React SDK is designed to work exclusively with React hooks.
Our React SDK is tailored to work with React hooks. If you're looking to use our SDK without hooks, we recommend using our Javascript SDKinstead.
Prerequisites
- Node.js: version 6.0.0 or later
- Npm: version 5.2.0 or later
- React: version 16.8.0 or later (Please note that our SDK is only compatible with React hooks)
Installation Guide
To add the SDK as a dependency to your project, you can use either NPM or YARN:
npm install @flagship.io/react-native-sdk
yarn add @flagship.io/react-native-sdk
These commands will install the Flagship React SDK into your project, allowing you to start integrating Flagship features into your application.
Information
Please ensure that you have also installed the @react-native-async-storage/async-storage package. If it's not already in your project, you'll need to add it separately.
Updated 3 months ago