This repository contains the React-Native plugins for the MoEngage platform.
| Folder | Description |
|---|---|
| core | Contains the implementation for the SDK implementation for Core MoEngage Platform |
| inbox | Contains the implementation for the SDK implementation for Inbox Feature |
| cards | Contains the implementation for the SDK implementation for Cards Feature |
| geofence | Contains the implementation for the SDK implementation for Geofence Feature |
| expo | Contains the implementation for the prebuild plugin to configure SDK native implementation |
| SampleApp | Sample Integration for reference. |
| ExpoSampleApp | Expo Sample Integration for reference. |
- Update your MoEngage app-id in the
SampleApp --> src --> key.jsfile. ReplaceYOUR_APP_IDwith the App Id on the MoEngage Dashboard.
export const MOENGAGE_APP_ID = "YOUR_APP_ID"- Add the MoEngage app-id in the
local.propertiesfile ofSampleApp --> android. Add the below key and value and replace `YOUR_APP_ID`` with the App Id on the MoEngage Dashboard.
moengageAppId=YOUR_APP_ID
- Replace the dummy
google-services.jsonfile with your actual file.
- Update your MoEngage app-id in the
SampleApp --> iOS --> SampleApp --> AppDelegate.mfile. ReplaceYOUR_APP_IDwith the App Id on the MoEngage Dashboard.
MoEngageSDKConfig *config = [[MoEngageSDKConfig alloc] initWithAppID:@"YOUR_APP_ID"];-
Update your workspace id in the below files
- ExpoSampleApp > src > key.ts
- ExpoSampleApp > assets > moengage > android_initilisation_config.xml
-
Update google services json file in ExpoSampleApp > assets > google-services.json
