MoEngage Geofence Plugin

Geofence Plugin for MoEngage Platform

SDK Installation

To add the MoEngage Geofence SDK to your application, edit your application's pubspec.yaml file and add the below dependency to it:

Download

dependencies:
 moengage_geofence: $latestSdkVersion

replace $latestSdkVersion with the latest SDK version.

Run flutter packages get to install the SDK.

Note: This plugin is dependent on moengage_flutter plugin. Make sure you have installed the moengage_flutter make sure you have installed the moengage_flutter plugin as well.

Android Installation

Note: As of moengage_geofence plugin version 5.0.0, the geofence dependency is included within the plugin itself Developers should remove the com.moengage:geofence dependency from the build.gradle as it is now included with the plugin.

MavenBadge

For moengage_geofence version less than5.0.0, Once you install the Flutter Plugin add MoEngage's native Android SDK dependency to the Android project of your application. Navigate to android --> app --> build.gradle. Add the MoEngage Android SDK's dependency in the dependencies block

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation("com.moengage:geofence:$sdkVersion")
}

Libraries

moengage_geofence