Overview
This guide shows you how to add the MoEngage SDK to your React Native Expo project.PrerequisitesMake sure you have the following:
- A MoEngage account.
- A React Native project set up with Expo.
Install the SDK Package
You’ll add the MoEngage SDK to your project as a package. We recommend usingnpx expo install because it automatically installs a version that’s compatible with your project’s Expo SDK.
1
Navigate to root
Open your terminal and go to your project’s root directory.
2
Install packages
Run the following commands:
Add the plugin to your configuration
Next, you need to add the MoEngage plugin to your Expo configuration file (app.json or app.config.js).
This step is required before generating the native project files.
- JSON