- Fix crash on Android
- Fix crash during close of the app
- Remove mandatory Android permission if not using the background location
- Fix crash during build
- Add the ability to launch location notifications when application is in background
- on iOS implemented with native background location support by adding required permissions and permission checks
- on Android by providing a custom service that wraps existing native location API calls in a foreground service
- Update Android SDK to Android 10/Q (API level 29)
- Updated sample application to include the background mode
- Various bug fixing
- Do not throw errors from methods that do not need an activity.
- [BREAKING] The error thrown is now ActivityNotFoundException which changes the error code returned when activity is not found. It used to be NO_ACTIVITY, now it is just error. We anticipate this error to be rarely experienced in the wild.
- Add capability to return reduced accuracy permission on iOS 14.0
- Fix crashes on v1 apps.
- Fix a crash happening during iOS build
- Add Web and macOS as new supported platforms (huge thanks to long1eu)
- [BREAKING] Enums are now following Dart guidelines.
- [BREAKING] onLocationChanged is now a getter to follow Dart guidelines.
- Update documentation
- Fix: Airplane mode was preventing location from being requested
- Fix: Not crashing when activity is not set on Android
- Improve code coverage
- Update documentation
- Fix crash on pre-1.12 projects
- Align PermissionStatus on iOS with Android
- Fix SDK version
- [BREAKING] The
requestPermissionandhasPermissionare now returning PermissionStatus enum. - Upgrade to Android Embedding V2 (follow https://github.com/flutter/flutter/wiki/Upgrading-pre-1.12-Android-projects if the plugin isn't working after upgrade)
- Resolve getLocation when service is disabled thanks to nicowernli
- Update example app
- Fix bugs leading to non returning code
getLocationnow throws properlypub.devnow states that the plugin is not compatible with Flutter Web (yet)
- Align timestamp in Android and iOS, previously the iOS timestamp was in seconds instead of milliseconds. Thanks to 781flyingdutchman.
- Fix bug where requestPermission is called after the user has already denied the system location dialog, then this method call would never return.
- Fix ClassCastException errors on some Android phones when requesting Location status.
- Fix incompatibily with headless plugins thanks to ehhc
- Fix error with iOS when permission already given
- Add Google maps example
- Fix error on Android 21 API thanks to noordawod
- Update Google API version
- Align altitude on Sea Level when available on Android (matching iOS altitude).
- Remove GPS limitation on Android
- Fixes README
- Fixes requestPermission not responding the correct result on iOS
- Update example App with proper cancel
- Add possibility to set accuracy, interval and minimum notification ditance of the requests.
- Add LocationAccuracy object
- Actually updating locatino when using getLocation (not only relying on LastLocation)
- Add timestamp to LocationData
- Add serviceEnabled method to check whether Location Service is enabled.
- Add requestService method to ask the user to activate the location service.
- Fix continuous callback heading
- iOS permission should be closer to Android permission behaviour thanks to PerrchicK
- Adding requestPermission(), to manually request permission
- Several feature fixed for less crash when using the plugin
- Code Cleanup
- Update Readme and add a warning for the location bug in iOS simulator
- Code cleanup
- BREAKING CHANGE: Change Dart API to return structured data rather than a map.
- Add lazy permission request thanks to yathit
- Add hasPermission() thanks to vagrantrobbie
- Bug correction thanks to jalpedersen
- Add more examples
- Fix crash for Android API pre 27 thanks to matthewtsmith.
- Correct implementation of iOS plugin to match Android behaviour. No need to call getLocation to get permissions for location callbacks.
- Change implementation to api in build.gradle in order to solve incompatibilities between GMS versions thanks to luccascorrea
- Added speed and speed_accuracy (only Android truly discover speed accuracy, so its always 0 for now on iOS)
- Solved a crash
- Make it compatible with Firebase thanks to quangIO
- Resolve runtime error exception thanks to jharrison902
- Update gitignore thanks to bcko
- Permissions denied on Android handled thanks to g123k
- Dart 2 update thanks to efortuna
- iOS code from Swift to Objective-C thanks to fluff
- Fixes for iOS result's format.
- Added permission check for Android 6+ (thanks netdur). Still no callback when permissions granted so aiming SDK 21 is safer.
- Initial Release.