From 13a388f40c9d36e83f906c769e11e1432c47d11f Mon Sep 17 00:00:00 2001 From: Ahmet TOK <48218623+arrrrny@users.noreply.github.com> Date: Sat, 19 Oct 2024 08:24:03 +0300 Subject: [PATCH 1/6] Update build.gradle fixes lint issue when ./gradlew ran --- geolocator_android/android/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geolocator_android/android/build.gradle b/geolocator_android/android/build.gradle index 928c59da..070e4949 100644 --- a/geolocator_android/android/build.gradle +++ b/geolocator_android/android/build.gradle @@ -32,7 +32,7 @@ android { minSdkVersion 16 } lintOptions { - disable 'InvalidPackage' + disable 'InvalidPackage', 'MissingPermission' } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 From c13ea23c70adb20e793ec84e4865a5e19a93d6da Mon Sep 17 00:00:00 2001 From: Ahmet TOK <48218623+arrrrny@users.noreply.github.com> Date: Sat, 19 Oct 2024 08:27:03 +0300 Subject: [PATCH 2/6] Update pubspec.yaml bumped version --- geolocator_android/pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geolocator_android/pubspec.yaml b/geolocator_android/pubspec.yaml index 8841c116..f9faf7f1 100644 --- a/geolocator_android/pubspec.yaml +++ b/geolocator_android/pubspec.yaml @@ -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.6.2 environment: sdk: ">=2.15.0 <4.0.0" From 8f3dd438927523cd29957fa7420642d390e1e852 Mon Sep 17 00:00:00 2001 From: Ahmet TOK <48218623+arrrrny@users.noreply.github.com> Date: Sat, 19 Oct 2024 08:28:39 +0300 Subject: [PATCH 3/6] Update CHANGELOG.md fixes Missing permissions required by NotificationManagerCompat.notify: android.permission.POST_NOTIFICATIONS [MissingPermission] --- geolocator_android/CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/geolocator_android/CHANGELOG.md b/geolocator_android/CHANGELOG.md index b0e5ab35..e7da640e 100644 --- a/geolocator_android/CHANGELOG.md +++ b/geolocator_android/CHANGELOG.md @@ -1,3 +1,6 @@ +## 4.6.2 +Fixes the ./gradlew build issue due to Missing permissions + ## 4.6.1 * Fixes a bug where the plugin throws an exception while requesting locations updates with coarse location permission only. From 17bbfd150f0643d223feed803f311a56a5fa20e3 Mon Sep 17 00:00:00 2001 From: Ahmet TOK <48218623+arrrrny@users.noreply.github.com> Date: Sat, 19 Oct 2024 08:30:07 +0300 Subject: [PATCH 4/6] Update pubspec.yaml upgraded geolocator_android version to 4.6.1 --- geolocator/pubspec.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/geolocator/pubspec.yaml b/geolocator/pubspec.yaml index edebb745..49e658e4 100644 --- a/geolocator/pubspec.yaml +++ b/geolocator/pubspec.yaml @@ -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.1 +version: 13.0.2 environment: sdk: ">=2.15.0 <4.0.0" @@ -27,7 +27,7 @@ dependencies: sdk: flutter geolocator_platform_interface: ^4.2.3 - geolocator_android: ^4.6.0 + geolocator_android: ^4.6.1 geolocator_apple: ^2.3.7 geolocator_web: ^4.1.1 geolocator_windows: ^0.2.3 From 2b25297a17a0fb96bef01182c22495b599210bb0 Mon Sep 17 00:00:00 2001 From: Ahmet TOK <48218623+arrrrny@users.noreply.github.com> Date: Sat, 19 Oct 2024 08:31:13 +0300 Subject: [PATCH 5/6] Update CHANGELOG.md resolved build issue on ./gradlew 8.4 --- geolocator/CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/geolocator/CHANGELOG.md b/geolocator/CHANGELOG.md index b7ecf283..1279af48 100644 --- a/geolocator/CHANGELOG.md +++ b/geolocator/CHANGELOG.md @@ -1,3 +1,7 @@ +## 13.0.2 + +- Resolves build error on ./gradlew + ## 13.0.1 - Resolves problems when compiling non-web platforms because of illegal reference to `dart:js_interop`. From 31b8e1d9e93dcde1567c867ddafc7fd73a7928da Mon Sep 17 00:00:00 2001 From: Ahmet TOK <48218623+arrrrny@users.noreply.github.com> Date: Sat, 19 Oct 2024 08:36:11 +0300 Subject: [PATCH 6/6] Update pubspec.yaml bumped version to 4.6.2 --- geolocator/pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geolocator/pubspec.yaml b/geolocator/pubspec.yaml index 49e658e4..3bb7a9a2 100644 --- a/geolocator/pubspec.yaml +++ b/geolocator/pubspec.yaml @@ -27,7 +27,7 @@ dependencies: sdk: flutter geolocator_platform_interface: ^4.2.3 - geolocator_android: ^4.6.1 + geolocator_android: ^4.6.2 geolocator_apple: ^2.3.7 geolocator_web: ^4.1.1 geolocator_windows: ^0.2.3