Location Triggered


To add MoEngage Geofence SDK to your application run the below command from terminal

npm install react-native-moengage-geofence

Note: This plugin is dependent on react-native-moengage plugin. Make sure you have installed the react-native-moengage plugin as well.

iOS Initilization

After integrating the geofence package call startGeofenceMonitoring() method to initiate the geofence module. This will fetch the geofences around the current location of the user. Refer the doc  for more information on Geofence.

import ReactMoEGeofence from 'react-native-moengage-geofence';

ReactMoEGeofence.startGeofenceMonitoring(YOUR APP ID);

Was this article helpful?
0 out of 0 found this helpful