# capacitor-moengage-geofence

MoEngage Capacitor package to support geofence based campaigns in iOS platform

## Install

```bash
npm install capacitor-moengage-geofence
npx cap sync
```

## API

<docgen-index>

* [`startGeofenceMonitoring(...)`](#startgeofencemonitoring)
* [`stopGeofenceMonitoring(...)`](#stopgeofencemonitoring)

</docgen-index>

<docgen-api>
<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->

### startGeofenceMonitoring(...)

```typescript
startGeofenceMonitoring(options: { appId: string; }) => Promise<void>
```

Enables geofence monitoring. Required Only if the account is configured for
Location-Triggered campaigns

| Param         | Type                            |
| ------------- | ------------------------------- |
| **`options`** | <code>{ appId: string; }</code> |

--------------------


### stopGeofenceMonitoring(...)

```typescript
stopGeofenceMonitoring(options: { appId: string; }) => Promise<void>
```

Disables geofence monitoring. To stop receiving Location-Triggered campaigns

| Param         | Type                            |
| ------------- | ------------------------------- |
| **`options`** | <code>{ appId: string; }</code> |

--------------------

</docgen-api>
