From 8c2307fdffc0603790f7e1f2b362778dcf9c4365 Mon Sep 17 00:00:00 2001 From: Lukasz Date: Mon, 3 Feb 2020 18:20:30 -0500 Subject: [PATCH] Fix Accuracy.nearestTenMeters on iOS. Update changelog and bump to v1.0.2. --- CHANGELOG.md | 4 ++++ README.md | 2 +- ios/Classes/Data/Accuracy.swift | 2 +- pubspec.yaml | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 68eed63..0bc7778 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## [1.0.2] + +- Fix `Accuracy.nearestTenMeters` on iOS + ## [1.0.1] - Update to streams_channel 0.2.3 diff --git a/README.md b/README.md index e935d85..974ce20 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ Add geolocation to your pubspec.yaml: ```yaml dependencies: - geolocation: ^1.0.1 + geolocation: ^1.0.2 ``` ## Import diff --git a/ios/Classes/Data/Accuracy.swift b/ios/Classes/Data/Accuracy.swift index 83b0885..d761528 100644 --- a/ios/Classes/Data/Accuracy.swift +++ b/ios/Classes/Data/Accuracy.swift @@ -10,7 +10,7 @@ enum Accuracy: String, Codable { case threeKilometers = "threeKilometers" case kilometer = "kilometer" case hundredMeters = "hundredMeters" - case nearestTenMeters = "NearestTenMeters" + case nearestTenMeters = "nearestTenMeters" case best = "best" case bestForNavigation = "bestForNavigation" diff --git a/pubspec.yaml b/pubspec.yaml index 15861c4..8906c2d 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: geolocation description: Location plugin for iOS and Android. -version: 1.0.1 +version: 1.0.2 homepage: https://github.com/loup-v/geolocation/ environment: