MoEngage Capacitor package to support geofence based campaigns in iOS platform
npm install capacitor-moengage-geofenceMoEngage Capacitor package to support geofence based campaigns in iOS platform
``bash`
npm install capacitor-moengage-geofence
npx cap sync
* startGeofenceMonitoring(...)
* stopGeofenceMonitoring(...)
`typescript`
startGeofenceMonitoring(options: { appId: string; }) => Promise
Enables geofence monitoring. Required Only if the account is configured for
Location-Triggered campaigns
| Param | Type |
| ------------- | ------------------------------- |
| options | { appId: string; } |
--------------------
`typescript`
stopGeofenceMonitoring(options: { appId: string; }) => Promise
Disables geofence monitoring. To stop receiving Location-Triggered campaigns
| Param | Type |
| ------------- | ------------------------------- |
| options` | { appId: string; } |
--------------------