moengage_geofence 6.2.0
moengage_geofence: ^6.2.0 copied to clipboard
Flutter Plugin for using Geofence feature of MoEngage Platform.
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:
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_geofenceplugin version5.0.0, thegeofencedependency is included within the plugin itself Developers should remove thecom.moengage:geofencedependency from thebuild.gradleas it is now included with the plugin.
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")
}