- Correctly handle integer-like numbers when decoding
Position
from JSON.
- Fixes several grammar mistakes in the API documentation.
- Updates the documentation of the
getServiceStatusStream
method as it nolonger throws aUnimplementedError
on web.
- Ensures that
timestamp
is set to current date and time if platform implementations return anull
value.
- Replaces an optional DateTime?
timestamp
inPosition
object for an NonNull DateTimetimestamp
.
- Updates dependencies to latest versions to prevent conflicts with other packages.
- Includes
altitudeAccuracy
andheadingAccuracy
inPosition
.
- Updates documentation for
getCurrentPosition()
andLocationAccuracy
, to clarify the behavior of location accuracy on Android devices.
- Fixed a spelling error in docs.
- Migrates to Dart SDK 2.15.0 and Flutter 2.8.0.
- Fixes repository URL of the package.
- Fixes a bug where listening to the position stream immediately after an error, results in listening to a dead stream.
- Removes
timeInterval
fromLocationSettings
documentation.
- Added
extensions.dart
to theexports
list.
- Adds the
LocationPermission.unableToDetermine
status used on the web platform when the permission API is not implemented by the browser.
- breaking Updates the plugin platform interface to use a non
-const
token. This is marked as a breaking change because it can cause an assertion failure if implementations useimplements
rather thanextends
, but hopefully there aren't any of those; - Replaced soft-deprecated
PlatformInterface.verifyToken
method withPlatformInterface.verify
method; - Updated
plugin_platform_interface
dependency.
- Remove unnecessary import statements from several source files;
- Fix "forceAndroidLocationManager" for getLastKnownPosition.
- Removed Android specific
LocationSettings.intervalDuration
field.
- Defines the
LocationSettings
class which bundles platform specific settings when communicating with the host platform.
- Updated API documentation on
GeolocatorPlatform.getServiceStream()
method, describing it is not supported on the web platform.
- Changed the EventChannelMock and the MethodChannelMockd due to breaking changes in the platform channel test interface.
- Update the documentation of the
getCurrentPosition
method to explain why it can take several seconds to execute.
- Migrated to flutter_lints as linter rule set as it replaces the deprecated effective_dart package.
- Added the possibility to pass your own purposeKey name to the requestTemporaryFullAccuracy method.
- Solves a bug which resulted in an issue when closing the position stream.
- Added the possibility to request temporary Precise Accuracy on iOS 14+ devices.
- Documentation
getLocationAccuracy()
method clarified. - Extended the
LocationAccuracyStatus
enum with aLocationAccuracyStatus.unknown
value, which can be used by platforms that don't support location accuracy features.
- Added the possibility to query for the LocationAccuracyStatus on devices running iOS 14.0 and higher.
- Solves a bug which resulted in an issue when closing the position stream and requesting a new one (see issue #703).
- Added the possibility to start a stream which will return an event when Location Services are manually enabled/disabled
- Added definition of the
ActivityMissingException
.
- Resolved analyzer error when using mockito (see issue #709).
- Stable release for null safety.
- Merged version 1.0.9 into null safety.
- Migrated to support null safety.
- Updated the README.md to more clearly explain the purpose of the geolocator_platform_interface package.
- Added the optional floor property to the position model and can be used by implementations to specify the floor on which the device is located (see #562).
- Solves a bug causing less accurate location fixes (see #531).
- Solve a bug which adds a zero timeout when no timeout is supplied (see #564).
- Allow developers to call the
getCurrentPosition
method while already listening to a position stream (see issue #546); - Make sure the position stream is stopped correctly (see issues #485 and #541);
- Android: fix deprecation warning (see issue #556).
- Added more detailed documentation on the
LocationServiceDisableException
(see issue #519).
- Add the
isMocked
field to thePosition
class to indicate if the position is retrieved using the Android MockLocationProvider (see issue #498); - Fixed typo in API documentation of LocationPermission (see issue #494)
- Improved LocationPermission documentation (see issue #494).
- Fixed code formatting and homepage URL
- Make sure close streams are dereferenced (solves a bug where closed stream is listened to generating an exception).
- Add support to force using the Android Location Manager instead of the Android FusedLocationProvider.
- Initial open-source release.