Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Throw LocationSignalLostException when GPS signal is lost #1617

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add changelog entries
orkun1675 committed Dec 9, 2024
commit 95e181a768c298302ed3742b5a3139ae8a6aecd1
4 changes: 4 additions & 0 deletions geolocator/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 13.1.0

* Position update stream may now throw `LocationSignalLostException` when GPS signal is lost. This new exception is safe to catch & ignore.

## 13.0.2

- Updates dependency on geolocator_apple to version 2.3.8.
8 changes: 4 additions & 4 deletions geolocator/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ name: geolocator
description: Geolocation plugin for Flutter. This plugin provides a cross-platform (iOS, Android) API for generic location (GPS etc.) functions.
repository: https://github.com/baseflow/flutter-geolocator/tree/main/geolocator
issue_tracker: https://github.com/baseflow/flutter-geolocator/issues?q=is%3Aissue+is%3Aopen
version: 13.0.2
version: 13.1.0

environment:
sdk: ">=2.15.0 <4.0.0"
@@ -26,9 +26,9 @@ dependencies:
flutter:
sdk: flutter

geolocator_platform_interface: ^4.2.3
geolocator_android: ^4.6.0
geolocator_apple: ^2.3.8
geolocator_platform_interface: ^4.3.0
geolocator_android: ^4.7.0
geolocator_apple: ^2.4.0
geolocator_web: ^4.1.1
geolocator_windows: ^0.2.3

4 changes: 4 additions & 0 deletions geolocator_android/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 4.7.0

* Posiiton stream now throws `LocationSignalLostException` when GPS signal is lost. This new exception is safe to ignore.

## 4.6.1

* Fixes a bug where the plugin throws an exception while requesting locations updates with coarse location permission only.
2 changes: 1 addition & 1 deletion geolocator_android/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ name: geolocator_android
description: Geolocation plugin for Flutter. This plugin provides the Android implementation for the geolocator.
repository: https://github.com/baseflow/flutter-geolocator/tree/main/geolocator_android
issue_tracker: https://github.com/baseflow/flutter-geolocator/issues?q=is%3Aissue+is%3Aopen
version: 4.6.1
version: 4.7.0

environment:
sdk: ">=2.15.0 <4.0.0"
4 changes: 4 additions & 0 deletions geolocator_apple/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.4.0

* Posiiton stream now throws `LocationSignalLostException` when GPS signal is lost. This new exception is safe to ignore.

## 2.3.8+1

* HOT FIX: Adds back implementation of the `stopListening` method in the `GeolocationHandler.m` file.
2 changes: 1 addition & 1 deletion geolocator_apple/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ name: geolocator_apple
description: Geolocation Apple plugin for Flutter. This plugin provides the Apple implementation for the geolocator.
repository: https://github.com/baseflow/flutter-geolocator/tree/main/geolocator_apple
issue_tracker: https://github.com/baseflow/flutter-geolocator/issues?q=is%3Aissue+is%3Aopen
version: 2.3.8+1
version: 2.4.0

environment:
sdk: ">=2.15.0 <4.0.0"
4 changes: 4 additions & 0 deletions geolocator_platform_interface/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 4.3.0

* Adds `LocationSignalLostException` which can be thrown when GPS signal is lost.

## 4.2.4

- Correctly handle integer-like numbers when decoding `Position` from JSON.