flutter_geofencing_plugin

Last updated:

0 purchases

flutter_geofencing_plugin Image
flutter_geofencing_plugin Images
Add to Cart

Description:

flutter geofencing plugin

flutter_geofencing #
A new Flutter plugin project.
Getting Started #
This project is a starting point for a Flutter
plug-in package,
a specialized package that includes platform-specific implementation code for
Android and/or iOS.
For help getting started with Flutter development, view the
online documentation, which offers tutorials,
samples, guidance on mobile development, and a full API reference.
Android #
Add the following lines to your AndroidManifest.xml to register the background service for geofencing:
<receiver
android:name="com.example.flutter_geofencing.GeofenceBroadcastReceiver"
android:enabled="true"
android:exported="true" />

<service
android:name="com.example.flutter_geofencing.geofencing.GeofenceTransitionsJobIntentService"
android:exported="true"
android:permission="android.permission.BIND_JOB_SERVICE" />
copied to clipboard
Also request the correct permissions for geofencing:
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.