Skip to content

Commit

Permalink
Merge branch 'release-4.15.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
christocracy committed May 14, 2024
2 parents deb1c84 + bbbaa4d commit ba6e86c
Show file tree
Hide file tree
Showing 25 changed files with 37 additions and 35 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## 4.15.3 — 2024-05-14
* [Android] Fix bug in .getCurrentPosition not returning or throwing an error in a condition where Network OFF and GPS ON.
* Fix bug in .changePace exception-handling, throwing a `FormatException` instead of `PlatformException`.

## 4.15.2 — 2024-04-22
* [iOS] Code-sign `TSLocationManager.xcframework` with new Apple Organization (*9224-2932 Quebec Inc*) certificate.

Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ef24420944e46ec3be54a938ace6ea5b
229865a9fe5b2e995e9dfce108342ddb
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5ffb007eee69e2670b1addd2dc467289671cf3d9
488102e8cf03ea0548853807c067a3def43d3a0a
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6d18e0695079ef503e690852c4482688e017de7bb566724732cc6bb9e0b8f3c2
46fbac083502efa621c17339f576a5a05ad3b3f96de481295187e76cbae1a38c
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0217b0a97fe4a3379d2e56197a99d5664269f7ef8b985dbcaa5e4b587e0335021ebf3e88f2d0742e9e7f119374dfd2c9cb42c01ea0f681b75b26a9d460092235
ab32b05cc9ed5d0cb741a0235aced32ebbc22e65b43f41fa8f821e3c948e6063f1b0169ca5899c554d700b02b79d2e6c449d242b260a3724ead6e5a938b7def4
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
<version>3.5.3</version>
<version>3.5.4</version>
</versions>
<lastUpdated>20240416171250</lastUpdated>
<lastUpdated>20240503133701</lastUpdated>
</versioning>
</metadata>
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2061702453bcb97a73dba6b86d1edaf7
b13a14d7e2aec102540dbead18e02820
Original file line number Diff line number Diff line change
@@ -1 +1 @@
feb2367f72761f4b699ae58ec047461e9a9234d6
b6dc73d8c06005b02c2a862993177e5ba45e7235
Original file line number Diff line number Diff line change
@@ -1 +1 @@
d591c768f36f5312337747427dc34e860871086323d975f1388f7d36480a2702
b04dfea8f3869e07b3cd6102afdb11f9815b426c5b2c19d88d1056217573076c
Original file line number Diff line number Diff line change
@@ -1 +1 @@
b37bbbf38d78ae8d1e939475578deed59aa6974b57b2f2875e010d852ed334764ab0b17314468a1cad1b6f96288ecbaa5e66a3d5dbc3dd9ba5b265614685fc3f
1414603c8f2960f35def168ac57895547c037441fca07c9bd4ea27055acb8225105fc3fcc32ad70daa5cf125d25ea817a57f9bff6f331a4e214ea2a4144d3098
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
<version>3.5.3</version>
<version>3.5.4</version>
</versions>
<lastUpdated>20240416171250</lastUpdated>
<lastUpdated>20240503133701</lastUpdated>
</versioning>
</metadata>
8 changes: 4 additions & 4 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
PODS:
- background_fetch (1.3.2):
- background_fetch (1.3.3):
- Flutter
- CocoaLumberjack (3.8.5):
- CocoaLumberjack/Core (= 3.8.5)
- CocoaLumberjack/Core (3.8.5)
- Flutter (1.0.0)
- flutter_background_geolocation (4.15.1):
- flutter_background_geolocation (4.15.2):
- CocoaLumberjack (~> 3.8.5)
- Flutter
- shared_preferences_foundation (0.0.1):
Expand Down Expand Up @@ -38,10 +38,10 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/url_launcher_ios/ios"

SPEC CHECKSUMS:
background_fetch: 2319bf7e18237b4b269430b7f14d177c0df09c5a
background_fetch: b431f622572a9aa6f5e84553bc2540806de7889d
CocoaLumberjack: 6a459bc897d6d80bd1b8c78482ec7ad05dffc3f0
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
flutter_background_geolocation: c6200425adf092ce27df5dd1c1bfe478549f7dfa
flutter_background_geolocation: 4be4497d442f388e6426fe9da4e19355593b84d5
shared_preferences_foundation: b4c3b4cddf1c21f02770737f147a3f5da9d39695
url_launcher_ios: 6116280ddcfe98ab8820085d8d76ae7449447586

Expand Down
2 changes: 1 addition & 1 deletion example/lib/advanced/home_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ class HomeViewState extends State<HomeView> with TickerProviderStateMixin<HomeVi
_isMoving = !_isMoving!;
});
print("[onClickChangePace] -> $_isMoving");

bg.BackgroundGeolocation.changePace(_isMoving!).then((bool isMoving) {
print('[changePace] success $isMoving');
}).catchError((e) {
Expand Down
2 changes: 2 additions & 0 deletions example/lib/advanced/main_menu_button.dart
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ class MainMenuButtonState extends State<MainMenuButton> {
}

void _onClickSettings() {


bg.BackgroundGeolocation.playSound(util.Dialog.getSoundId("OPEN"));
Navigator.of(_context).push(MaterialPageRoute<Null>(
fullscreenDialog: true,
Expand Down
14 changes: 7 additions & 7 deletions ios/TSLocationManager.xcframework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -23,34 +23,34 @@
</dict>
<dict>
<key>BinaryPath</key>
<string>TSLocationManager.framework/TSLocationManager</string>
<string>TSLocationManager.framework/Versions/A/TSLocationManager</string>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<string>ios-arm64_x86_64-maccatalyst</string>
<key>LibraryPath</key>
<string>TSLocationManager.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>maccatalyst</string>
</dict>
<dict>
<key>BinaryPath</key>
<string>TSLocationManager.framework/Versions/A/TSLocationManager</string>
<string>TSLocationManager.framework/TSLocationManager</string>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-maccatalyst</string>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>TSLocationManager.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>maccatalyst</string>
</dict>
</array>
<key>CFBundlePackageType</key>
Expand Down
Binary file modified ios/TSLocationManager.xcframework/_CodeSignature/CodeDirectory
Binary file not shown.
Binary file not shown.
12 changes: 6 additions & 6 deletions ios/TSLocationManager.xcframework/_CodeSignature/CodeResources
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@
</data>
<key>ios-arm64/TSLocationManager.framework/_CodeSignature/CodeSignature</key>
<data>
JIUydlr840DWmKKz7Kf83cNCQEI=
Fu5wIlTx5ElPdxYjdAujA668eyo=
</data>
<key>ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/AtomicBoolean.h</key>
<data>
Expand Down Expand Up @@ -346,7 +346,7 @@
</data>
<key>ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/_CodeSignature/CodeSignature</key>
<data>
gLD0Gbh6LEAC4/JOu9wMgllNelw=
1U8kIxS24dt/O6C9OxPBfPFd1Io=
</data>
<key>ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/AtomicBoolean.h</key>
<data>
Expand Down Expand Up @@ -989,11 +989,11 @@
<dict>
<key>hash</key>
<data>
JIUydlr840DWmKKz7Kf83cNCQEI=
Fu5wIlTx5ElPdxYjdAujA668eyo=
</data>
<key>hash2</key>
<data>
O+HYVwbfk7l8Q5InxzhdEcYwKvms2dyDJAeMm271UfU=
pI8MMzrRcn3TYJPOyllds9QKo0yQvyq8k5lD3rtqkMo=
</data>
</dict>
<key>ios-arm64_x86_64-maccatalyst/TSLocationManager.framework/Headers/AtomicBoolean.h</key>
Expand Down Expand Up @@ -1462,11 +1462,11 @@
<dict>
<key>hash</key>
<data>
gLD0Gbh6LEAC4/JOu9wMgllNelw=
1U8kIxS24dt/O6C9OxPBfPFd1Io=
</data>
<key>hash2</key>
<data>
LqGHISwCmUZEXIPJDuDM0chQWS63xtwhK2nJVcHDj+c=
Qfck21/LzoBiITeuA3upqy7j/D3TKwU+hqgOIw4mLTs=
</data>
</dict>
<key>ios-arm64_x86_64-simulator/TSLocationManager.framework/Headers/AtomicBoolean.h</key>
Expand Down
Binary file modified ios/TSLocationManager.xcframework/_CodeSignature/CodeSignature
Binary file not shown.
Binary file not shown.
Binary file not shown.
8 changes: 2 additions & 6 deletions lib/models/background_geolocation.dart
Original file line number Diff line number Diff line change
Expand Up @@ -466,12 +466,8 @@ class BackgroundGeolocation {
/// ```
///
static Future<bool> changePace(bool isMoving) async {
try {
return (await _methodChannel.invokeMethod<bool>('changePace', isMoving))
as FutureOr<bool>;
} on PlatformException catch (e) {
throw Error(e);
}
return (await _methodChannel.invokeMethod<bool>('changePace', isMoving))
as FutureOr<bool>;
}
/// Retrieves the current [Location].
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_background_geolocation
description: The most sophisticated background location tracking & geofencing module with battery-conscious motion-detection intelligence for iOS and Android.
version: 4.15.2
version: 4.15.3
homepage: https://github.com/transistorsoft/flutter_background_geolocation

dependencies:
Expand Down

0 comments on commit ba6e86c

Please sign in to comment.