Location Triggered


Please refer to the Native Android SDK's Location Triggered document for supporting location-triggered push notifications.


Adding Geofence Plugin

Add capacitor-moengage-geofence plugin to the capacitor project as shown below :

$npm install capacitor-moengage-geofence
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.

import { MoECapacitorGeofence } from 'capacitor-moengage-geofence';

MoECapacitorGeofence.startGeofenceMonitoring({ appId: YOUR APP ID })
Was this article helpful?
0 out of 0 found this helpful