- [FEAT] Support AGP 8
- [REMOVE] Remove
flutter_foreground_task
dependency. If you want to start a service in the background, use the flutter_foreground_task plugin.
- [CHORE] Update dependency constraints to
sdk: '>=2.18.0 <4.0.0'
flutter: '>=3.3.0'
- [CHORE] Update dependency to the latest version
- [CHORE] Bump Android compileSdkVersion to 33
- [CHORE] Upgrade minimum Flutter version to 3.0.0
- [CHORE] Upgrade dependencies
- Upgrade dependencies.
- [#4] Fix onRequestPermissionsResult implement issue.
- Upgrade dependencies.
- Downgrade Android minSdkVersion to 21.
- Upgrade dependencies.
- [#42] Only minimize app on pop when there is no route to pop.
- [iOS] Fixed an issue where notifications not related to the service were removed.
- [iOS] Improved compatibility with other plugins that use notifications.
- Additional settings are required, so please check the Readme-Getting started.
- [#16] Add process exit code to prevent memory leak.
- Upgrade dependencies.
- [Bug] Fixed an issue where lockMode(wakeLock, wifiLock) was not properly released when the service was forcibly shutdown.
- [Bug] Fixed an issue where foreground service notification UX was delayed on Android version 12.
- Upgrade dependencies.
- Bump Android minSdkVersion to 23.
- Bump Android compileSdkVersion to 31.
- Upgrade flutter_foreground_task: ^3.2.2
- [Bug] Fixed an issue where RemoteServiceException occurred intermittently.
- Upgrade flutter_foreground_task: ^3.2.0
- Upgrade flutter_foreground_task: ^3.0.0
- Changed parameter name of
WillStartForegroundTask
widget.
- Fix errorCodes parsing function not working properly.
- Upgrade fl_location: ^1.0.1
- Upgrade flutter_foreground_task: ^2.1.0
- [BREAKING] Replace plugin from
location
to fl_location
.
- [BREAKING] Replace data model from
LocationData
to Location
.
- Rename the listener function.
addLocationDataChangeListener -> addLocationChangeListener
addLocationServiceStatusChangeListener -> addLocationServicesStatusChangeListener
removeLocationDataChangeListener -> removeLocationChangeListener
removeLocationServiceStatusChangeListener -> removeLocationServicesStatusChangeListener
LOCATION_SERVICE_DISABLED -> LOCATION_SERVICES_DISABLED
- Add
clearAllListeners
function.
- Add
foregroundServiceType
to android service tag.
- Fixed DWELL status change being delayed due to statusChangeDelayMs.
- Upgrade flutter_foreground_task: ^2.0.4
- [BREAKING] Replace plugin from
geolocator
to location
.
- [BREAKING] Replace data model from
Position
to LocationData
.
- 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.
- 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.
- Upgrade flutter_foreground_task: ^2.0.1
- Upgrade geolocator: ^7.2.0+1
- Upgrade geolocator: ^7.1.1
- Upgrade flutter_foreground_task: ^2.0.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 to toJson
.
- Update example
- Update README.md
- Upgrade flutter_foreground_task: ^1.0.8
- Add
GeofenceStatus.DWELL
that occurs when loitering within a geofence radius.
- Add
loiteringDelayMs
options.
- Add
statusChangeDelayMs
options.
- [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.
- Upgrade geolocator: ^7.0.3
- Upgrade geolocator: ^7.0.2
- Add future-async to
GeofenceStatusChangedCallback
.
- Add
geofenceRadiusSortType
options.
- Apply singleton pattern. Now access the
GeofenceService
through the instance
field. Use the setup
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.
- Prevent RemoteServiceException.
- Fix foreground service duplicate call issues.
- Fix foreground service start and stop timing issues.
- Change the
serviceId
value of the foreground service. [1 >> 1000]
- Add
useActivityRecognition
option to selectively use the activity recognition API.
- Example updates.
- README updates.
- Upgrade geolocator: ^7.0.1
- Modify package name.
- Add method to get activity with unknown type.
- Add null check for geofenceList of start function.
- README updates.
- Add data field for inserting custom data.