geofence_service 3.1.2
geofence_service: ^3.1.2 copied to clipboard
This plugin is a geofence service with activity recognition API.
3.1.2 #
- Upgrade geolocator: ^7.2.0+1
3.1.1 #
- Upgrade geolocator: ^7.1.1
- Upgrade flutter_foreground_task: ^2.0.0
3.1.0 #
- Upgrade geolocator: ^7.1.0
- Upgrade flutter_activity_recognition: ^1.0.2
- Add
addPositionChangeListenerfunction. - Add
removePositionChangeListenerfunction. - Add
addLocationServiceStatusChangeListenerfunction. - Add
removeLocationServiceStatusChangeListenerfunction.
A service has been added to check the location service status change while the geofence service is running. You need to add the code below to your android manifest file. See the Getting started section of the readme for details.
<service
android:name="com.pravera.geofence_service.service.LocationProviderIntentService"
android:permission="android.permission.BIND_JOB_SERVICE"
android:stopWithTask="true" />
- Add
printDevLogoption. - Change the model's
toMapfunction name totoJson. - Update example
- Update README.md
- Rename the listener function.
// addGeofenceStatusChangedListener(_onGeofenceStatusChanged);
// addActivityChangedListener(_onActivityChanged);
// removeGeofenceStatusChangedListener(onGeofenceStatusChanged);
// removeActivityChangedListener(onActivityChanged);
addGeofenceStatusChangeListener(_onGeofenceStatusChanged);
addActivityChangeListener(_onActivityChanged);
removeGeofenceStatusChangeListener(onGeofenceStatusChanged);
removeActivityChangeListener(onActivityChanged);
3.0.4 #
- Upgrade flutter_foreground_task: ^1.0.8
3.0.3 #
- Add
GeofenceStatus.DWELLthat occurs when loitering within a geofence radius. - Add
loiteringDelayMsoptions. - Add
statusChangeDelayMsoptions.
3.0.0 #
- [BREAKING] Remove the activity_recognition package inside the plugin, and add the
flutter_activity_recognition: ^1.0.0plugin. - [BREAKING] Remove the foreground_service package inside the plugin, and add the
flutter_foreground_task: ^1.0.7plugin. - Updates Comment and Documentation.
- Android SDK target upgrade.
- Please refer to the upgrade guide for details.
2.1.4 #
- Upgrade geolocator: ^7.0.3
2.1.3 #
- Upgrade geolocator: ^7.0.2
2.1.2 #
- Add future-async to
GeofenceStatusChangedCallback. - Add
geofenceRadiusSortTypeoptions.
2.1.0 #
- Apply singleton pattern. Now access the
GeofenceServicethrough theinstancefield. Use thesetupfunction to set options. - Remove
setOnGeofenceStatusChangedfunction. - Remove
setOnActivityChangedfunction. - Remove
setOnStreamErrorfunction. - Add
addGeofenceStatusChangedListenerfunction. - Add
addActivityChangedListenerfunction. - Add
addStreamErrorListenerfunction. - Add
removeGeofenceStatusChangedListenerfunction. - Add
removeActivityChangedListenerfunction. - Add
removeStreamErrorListenerfunction. - Example updates.
- README updates.
2.0.5 #
- Prevent RemoteServiceException.
2.0.4 #
- Fix foreground service duplicate call issues.
- Fix foreground service start and stop timing issues.
- Change the
serviceIdvalue of the foreground service. [1 >> 1000]
2.0.1 #
- Add
useActivityRecognitionoption to selectively use the activity recognition API. - Example updates.
- README updates.
2.0.0 #
- Migrate null safety.
1.0.4 #
- Upgrade geolocator: ^7.0.1
1.0.3 #
- Modify package name.
- Add method to get activity with unknown type.
- Add null check for geofenceList of start function.
1.0.1 #
- README updates.
- Add data field for inserting custom data.
1.0.0 #
- Initial release.