You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: geolocator/CHANGELOG.md
+39-27Lines changed: 39 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,21 @@
1
+
## 14.0.3
2
+
3
+
- Updates the following dependencies:
4
+
-`geolocator_platform_interface` to 4.2.8
5
+
-`geolocator_android` to 5.0.3
6
+
-`geolocator_apple` to 2.3.14
7
+
-`geolocator_linux` to 0.2.6
8
+
-`geolocator_web` to 4.1.4
9
+
-`flutter_lints` to 6.0.0
10
+
1
11
## 14.0.2
2
12
3
-
- Adds section about `UIBackgroundModes` to the README.
4
-
- Adds Linux as a supported platform to pubspec.
13
+
- Adds section about `UIBackgroundModes` to the README.
14
+
- Adds Linux as a supported platform to pubspec.
5
15
6
16
## 14.0.1
7
17
8
-
- Adds section about `FOREGROUND_SERVICE_LOCATION` to the README.
18
+
- Adds section about `FOREGROUND_SERVICE_LOCATION` to the README.
9
19
- Fixes PlatformException in example app for Android 14 (SDK level 34) and newer by updating manifest permissions.
10
20
11
21
## 14.0.0
@@ -69,7 +79,7 @@
69
79
70
80
## 10.0.0
71
81
72
-
-**BREAKING CHANGE:** Updates dependency on geolocator_windows to version 0.2.0. This will synchronize default values for `Position.altitude`, `Position.heading` and `Position.speed` with the other platforms.
82
+
-**BREAKING CHANGE:** Updates dependency on geolocator_windows to version 0.2.0. This will synchronize default values for `Position.altitude`, `Position.heading` and `Position.speed` with the other platforms.
73
83
74
84
## 9.0.2
75
85
@@ -124,7 +134,7 @@
124
134
125
135
## 8.0.1
126
136
127
-
- Fix "forceAndroidLocationManager" for getLastKnownPosition
137
+
- Fix "forceAndroidLocationManager" for getLastKnownPosition
128
138
- Upgrade geolocator_platform_interface to 3.0.1
129
139
- Upgrade geolocator_web to 2.1.1
130
140
@@ -135,7 +145,7 @@
135
145
136
146
## 7.7.1
137
147
138
-
* Update the documentation on permissions in the README.md.
148
+
- Update the documentation on permissions in the README.md.
139
149
140
150
## 7.7.0
141
151
@@ -197,7 +207,7 @@
197
207
## 7.0.3
198
208
199
209
- Android: Throw the `ActivityMissingException` when requesting permissions while the activity is not available (e.g. when the App is in the background);
200
-
- iOS: Support the `NSLocationAlwaysAndWhenInUseUsageDescription` key on iOS 11+ (this key replaces the `NSLocationAlwaysDescription` key which has been marked [deprecated](https://developer.apple.com/documentation/bundleresources/information_property_list/nslocationalwaysusagedescription?language=objc)).
210
+
- iOS: Support the `NSLocationAlwaysAndWhenInUseUsageDescription` key on iOS 11+ (this key replaces the `NSLocationAlwaysDescription` key which has been marked [deprecated](https://developer.apple.com/documentation/bundleresources/information_property_list/nslocationalwaysusagedescription?language=objc)).
201
211
202
212
## 7.0.2
203
213
@@ -209,7 +219,8 @@
209
219
210
220
## 7.0.0
211
221
212
-
This release contains the following **breaking changes**:
222
+
This release contains the following **breaking changes**:
223
+
213
224
- Stable release of null safety migration;
214
225
- Checking permissions on Android can no longer result in `LocationPermissions.deniedForever`. More details can be found in issue [#653](https://github.com/Baseflow/flutter-geolocator/issues/653) and the [wiki](https://github.com/Baseflow/flutter-geolocator/wiki/Breaking-changes-in-7.0.0#android-permission-update);
215
226
- Removed deprecated `timeInterval` parameter from the `getPositionStream` method;
@@ -366,7 +377,7 @@ Complete rebuild of the geolocator plugin. Please note the this version contains
366
377
367
378
- Added unit-tests to guard for breaking API changes;
368
379
- Added support to supply a locale identifier when requesting a placemark using a [Position](https://pub.dev/documentation/geolocator/latest/geolocator/Position-class.html) instance;
369
-
-**breaking*- Stop hiding parsing exceptions when converting coordinates into an address. Instead of returning `null` the `placemarkFromCoordinates` method will now throw and `ArgumentError` if illegal values are returned (which should never happen).
380
+
-\*_breaking_- Stop hiding parsing exceptions when converting coordinates into an address. Instead of returning `null` the `placemarkFromCoordinates` method will now throw and `ArgumentError` if illegal values are returned (which should never happen).
370
381
371
382
## 5.2.1
372
383
@@ -418,8 +429,8 @@ Complete rebuild of the geolocator plugin. Please note the this version contains
418
429
- Change geocoding results on Android to return multiple records;
419
430
- Extended the example application;
420
431
- Use the correct permission level enumeration;
421
-
# Added documentation regarding AndroidX support.
422
432
433
+
# Added documentation regarding AndroidX support.
423
434
424
435
## 5.0.1
425
436
@@ -449,15 +460,15 @@ Complete rebuild of the geolocator plugin. Please note the this version contains
449
460
## 4.0.0
450
461
451
462
- Overhauled the permissions system to make sure the plugin only depends on the location API. This means when using this version of the plugin Apple requires only entries for the `NSLocationWhenInUseUsageDescription` and/ or `NSLocationAlwaysUsageDescription` in the `Info.plist`.
452
-
-**breaking*- As part of the permission system overhaul, we removed the `disabled` permission status. To check if the location services are running you should call the `isLocationServiceEnabled` method. This means you can now also request permissions when the location services are disabled.
463
+
-\*_breaking_- As part of the permission system overhaul, we removed the `disabled` permission status. To check if the location services are running you should call the `isLocationServiceEnabled` method. This means you can now also request permissions when the location services are disabled.
453
464
454
465
## 3.0.1
455
466
456
467
- Updated dependencies on Permission Handler and Google API Availability to remove Kotlin dependency.
457
468
458
469
## 3.0.0
459
470
460
-
-**breaking*- Updated to support AndroidX;
471
+
-\*_breaking_- Updated to support AndroidX;
461
472
- Added API method `isLocationServiceEnabled` to check if location services are enabled or disabled
462
473
- Removed method `checkGeolocationStatus` (marked deprecated in version 1.6.4);
463
474
- Updated to latest version of Permission Handler plugin to solve some small issues on iOS;
@@ -484,19 +495,19 @@ Complete rebuild of the geolocator plugin. Please note the this version contains
484
495
485
496
## 2.0.0
486
497
487
-
-**breaking*- The `getPositionStream` method now directly returns an instance of the `Stream<Position>` class, meaning there is no need to `await` the method before being able to access the stream;
488
-
-**breaking*- Arguments for the methods `getCurrentPosition` and `getLastKnownPosition` are now named optional parameters instead of positional optional parameters;
498
+
-\*_breaking_- The `getPositionStream` method now directly returns an instance of the `Stream<Position>` class, meaning there is no need to `await` the method before being able to access the stream;
499
+
-\*_breaking_- Arguments for the methods `getCurrentPosition` and `getLastKnownPosition` are now named optional parameters instead of positional optional parameters;
489
500
- By default Geolocator will use FusedLocationProviderClient on Android when Google Play Services are available. It will fall back to LocationManager when it is not available. You can override the behaviour by setting `Geolocator geolocator = Geolocator()..forceAndroidLocationManager = true;`
490
501
- Allow developers to specify a desired interval for active location updates, in milliseconds (Android only).
491
502
492
503
## 1.7.0
493
504
494
505
- Added timestamp to instances of the `Position` class indicating when the GPS fix was acquired;
495
-
- Updated the dependency on the `PermissionHandler` to version >=2.0.0 <3.0.0.
506
+
- Updated the dependency on the `PermissionHandler` to version >=2.0.0 <3.0.0.
496
507
497
508
## 1.6.5
498
509
499
-
- Fixed bug on Android when not supplying a locale while using the Geocoding features.
510
+
- Fixed bug on Android when not supplying a locale while using the Geocoding features.
500
511
501
512
## 1.6.4
502
513
@@ -528,27 +539,27 @@ Complete rebuild of the geolocator plugin. Please note the this version contains
528
539
- It is now possible to check the location permissions using the `checkGeolocationStatus` method [[ISSUE #51](https://github.com/BaseflowIT/flutter-geolocator/issues/51)].
529
540
- Improved the example App [[ISSUE #54](https://github.com/BaseflowIT/flutter-geolocator/issues/54)]
530
541
- Solved a bug on Android causing a memory leak when you stop listening to the position stream.
531
-
-**breaking*- Solved a bug on Android where permissions could be requested more then once simultaneously [[ISSUE #58](https://github.com/BaseflowIT/flutter-geolocator/issues/58)]
542
+
-\*_breaking_- Solved a bug on Android where permissions could be requested more then once simultaneously [[ISSUE #58](https://github.com/BaseflowIT/flutter-geolocator/issues/58)]
532
543
- Solved a bug on Android where requesting permissions twice would cause the App to crash [[ISSUE #61](https://github.com/BaseflowIT/flutter-geolocator/issues/61)]
533
544
534
545
> **Important:**
535
-
>
546
+
>
536
547
> To be able to correctly fix [issue #58](https://github.com/BaseflowIT/flutter-geolocator/issues/58) we had to change the `getPositionStream` method into a `async` method. This means the signature of the method has been changed from:
> Meaning as a developer you'll now have to `await` the result of the method to get access to the actual stream.
545
556
546
557
## 1.4.0
547
558
548
559
- Added feature to query the last known location that is stored on the device using the `getLastKnownLocation` method;
549
-
-**breaking*- Renamed the `getPosition` to `getCurrentPosition`;
560
+
-\*_breaking_- Renamed the `getPosition` to `getCurrentPosition`;
550
561
- Fixed bug where calling `getCurrentPosition` on Android resulted in returning the last known location;
551
-
-**breaking*- Renamed methods `toPlacemark` and `fromPlacemark` respectively to the, more meaningful names, `placemarkFromAddress` and `placemarkFromCoordinates`;
562
+
-\*_breaking_- Renamed methods `toPlacemark` and `fromPlacemark` respectively to the, more meaningful names, `placemarkFromAddress` and `placemarkFromCoordinates`;
552
563
553
564
## 1.3.1
554
565
@@ -571,7 +582,7 @@ Complete rebuild of the geolocator plugin. Please note the this version contains
571
582
> This introduces a breaking change since the signature of the `getPositionStream` has changed from `getPositionStream(LocationAccuracy accuracy)` to
-Made some small changes to ensure the plugin no longer is depending on JAVA 8, meaning the plugin will run using the default Android configuration.
585
+
- Made some small changes to ensure the plugin no longer is depending on JAVA 8, meaning the plugin will run using the default Android configuration.
575
586
576
587
## 1.2.0
577
588
@@ -588,11 +599,12 @@ Complete rebuild of the geolocator plugin. Please note the this version contains
588
599
589
600
## 1.1.0
590
601
591
-
- Introduced the option to supply a desired accuracy.
602
+
- Introduced the option to supply a desired accuracy.
592
603
593
-
> **Important:*-
604
+
> \*_Important:_-
594
605
>
595
-
>This introduces a breaking change, the `getPosition` and `onPositionChanged` properties have been replaced by methods (`getPosition([LocationAccuracy desiredAccuracy = LocationAccuracy.Best])` and `getPositionStream([LocationAccuracy desiredAccuracy = LocationAccuracy.Best])` respectively) accepting a parameter to indicate the desired accuracy.
606
+
> This introduces a breaking change, the `getPosition` and `onPositionChanged` properties have been replaced by methods (`getPosition([LocationAccuracy desiredAccuracy = LocationAccuracy.Best])` and `getPositionStream([LocationAccuracy desiredAccuracy = LocationAccuracy.Best])` respectively) accepting a parameter to indicate the desired accuracy.
607
+
596
608
- Updated the Android part to make use of the [LocationManager](https://developer.android.com/reference/android/location/LocationManager) instead of the [FusedLocationProviderClient](https://developers.google.com/android/reference/com/google/android/gms/location/FusedLocationProviderClient)
597
609
- Improved support for handling position requests that happen in rapid succession.
0 commit comments