geofence_service 3.2.0 geofence_service: ^3.2.0 copied to clipboard
This plugin is a geofence service with activity recognition API.
3.2.0 #
- [BREAKING] Remove
geolocator
plugin. - [BREAKING] Add
location
plugin. - [BREAKING] Change the geolocation model.
Position -> LocationData
- [BREAKING] Rename the listener function.
addPositionChangeListener -> addLocationDataChangeListener
removePositionChangeListener -> removeLocationDataChangeListener
- Fix location permission request not working properly.
- Fix an issue that the location stream is not closed even when the service is stopped.
3.1.4 #
- Move component declaration inside the plugin. Check the readme for more details.
- Upgrade flutter_foreground_task: ^2.0.3
- Upgrade flutter_activity_recognition: ^1.1.2
* Upgrade to `Activity Recognition Transition API`.
* Remove `ON_FOOT` activity type.
* Remove `TILTING` activity type.
* Fix `requestPermission` not working properly.
3.1.3 #
- Upgrade flutter_foreground_task: ^2.0.1
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
addPositionChangeListener
function. - Add
removePositionChangeListener
function. - Add
addLocationServiceStatusChangeListener
function. - Add
removeLocationServiceStatusChangeListener
function. - Add
printDevLog
option. - Rename the listener function.
addGeofenceStatusChangedListener -> addGeofenceStatusChangeListener
addActivityChangedListener -> addActivityChangeListener
removeGeofenceStatusChangedListener -> removeGeofenceStatusChangeListener
removeActivityChangedListener -> removeActivityChangeListener
- Change the model's
toMap
function name totoJson
. - Update example
- Update README.md
3.0.4 #
- Upgrade flutter_foreground_task: ^1.0.8
3.0.3 #
- Add
GeofenceStatus.DWELL
that occurs when loitering within a geofence radius. - Add
loiteringDelayMs
options. - Add
statusChangeDelayMs
options.
3.0.0 #
- [BREAKING] Remove the activity_recognition package inside the plugin, and add the
flutter_activity_recognition: ^1.0.0
plugin. - [BREAKING] Remove the foreground_service package inside the plugin, and add the
flutter_foreground_task: ^1.0.7
plugin. - 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
geofenceRadiusSortType
options.
2.1.0 #
- Apply singleton pattern. Now access the
GeofenceService
through theinstance
field. Use thesetup
function to set options. - Remove
setOnGeofenceStatusChanged
function. - Remove
setOnActivityChanged
function. - Remove
setOnStreamError
function. - Add
addGeofenceStatusChangedListener
function. - Add
addActivityChangedListener
function. - Add
addStreamErrorListener
function. - Add
removeGeofenceStatusChangedListener
function. - Add
removeActivityChangedListener
function. - Add
removeStreamErrorListener
function. - 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
serviceId
value of the foreground service. [1 >> 1000]
2.0.1 #
- Add
useActivityRecognition
option 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.