From f5358558e6b2452e18a9f944813b1f6ac7c3e79d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolo=CC=80=20Bozzato?= Date: Mon, 8 Apr 2024 16:25:42 +0900 Subject: [PATCH 1/4] upgrade dependency to package_info_plus --- CHANGELOG.md | 4 ++++ example/macos/Flutter/GeneratedPluginRegistrant.swift | 4 ++-- pubspec.yaml | 4 ++-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4d20b48..953fc72 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 2.1.3 + +* Upgrading package_info_plus version to 6.0.0 which add privacy manifest for IOS + ## 2.1.2 * Upgrading dependencies diff --git a/example/macos/Flutter/GeneratedPluginRegistrant.swift b/example/macos/Flutter/GeneratedPluginRegistrant.swift index 3ccece4..220cc08 100644 --- a/example/macos/Flutter/GeneratedPluginRegistrant.swift +++ b/example/macos/Flutter/GeneratedPluginRegistrant.swift @@ -5,10 +5,10 @@ import FlutterMacOS import Foundation -import package_info_plus_macos +import package_info_plus import url_launcher_macos func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { - FLTPackageInfoPlusPlugin.register(with: registry.registrar(forPlugin: "FLTPackageInfoPlusPlugin")) + FPPPackageInfoPlusPlugin.register(with: registry.registrar(forPlugin: "FPPPackageInfoPlusPlugin")) UrlLauncherPlugin.register(with: registry.registrar(forPlugin: "UrlLauncherPlugin")) } diff --git a/pubspec.yaml b/pubspec.yaml index 81888a7..34dfe23 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: app_review description: Request and Write Reviews and Open Store Listing for Android and iOS in Flutter. -version: 2.1.2+1 +version: 2.1.3 maintainer: Rody Davis (@rodydavis) homepage: https://github.com/rodydavis/plugins repository: https://github.com/fluttercommunity/app_review @@ -11,7 +11,7 @@ environment: dependencies: http: ^1.1.0 - package_info_plus: ^5.0.0 + package_info_plus: ^6.0.0 url_launcher: ^6.1.6 flutter: sdk: flutter From 12662d753a2e99de3850c7c67be6382465bafff8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolo=CC=80=20Bozzato?= Date: Mon, 8 Jul 2024 09:22:45 +0200 Subject: [PATCH 2/4] fix play core problem --- android/build.gradle | 9 ++++++--- pubspec.yaml | 4 ++-- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index f58ca77..cf9aea7 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -22,10 +22,11 @@ rootProject.allprojects { apply plugin: 'com.android.library' android { - compileSdkVersion 28 + compileSdkVersion 34 defaultConfig { - minSdkVersion 16 + minSdkVersion 24 + targetSdkVersion 34 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } lintOptions { @@ -35,5 +36,7 @@ android { dependencies { api 'androidx.legacy:legacy-support-v4:1.0.0' - implementation 'com.google.android.play:core:1.8.2' + // This dependency is downloaded from the [Google’s Maven repository](https://developer.android.com/studio/build/dependencies#google-maven). + // Make sure you also include that repository in your project's build.gradle file. + implementation 'com.google.android.play:review:2.0.1' } diff --git a/pubspec.yaml b/pubspec.yaml index 34dfe23..c261e6c 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: app_review description: Request and Write Reviews and Open Store Listing for Android and iOS in Flutter. -version: 2.1.3 +version: 2.1.4 maintainer: Rody Davis (@rodydavis) homepage: https://github.com/rodydavis/plugins repository: https://github.com/fluttercommunity/app_review @@ -10,7 +10,7 @@ environment: flutter: ^1.10.0 dependencies: - http: ^1.1.0 + http: any package_info_plus: ^6.0.0 url_launcher: ^6.1.6 flutter: From d36c1222ce3cbefa0f0bbbe00e3ff70e06ed030a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolo=CC=80=20Bozzato?= Date: Mon, 8 Jul 2024 09:31:20 +0200 Subject: [PATCH 3/4] fix app review java --- .../main/java/com/appleeducate/appreview/AppReviewPlugin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/src/main/java/com/appleeducate/appreview/AppReviewPlugin.java b/android/src/main/java/com/appleeducate/appreview/AppReviewPlugin.java index b193611..82e569c 100644 --- a/android/src/main/java/com/appleeducate/appreview/AppReviewPlugin.java +++ b/android/src/main/java/com/appleeducate/appreview/AppReviewPlugin.java @@ -155,4 +155,4 @@ public void onDetachedFromActivity() { currentActivity = null; } -} +} \ No newline at end of file From 7db58e12b456c5962f0204450d5ebe5c80fba043 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolo=CC=80=20Bozzato?= Date: Mon, 8 Jul 2024 09:43:22 +0200 Subject: [PATCH 4/4] fix app review java --- .../main/java/com/appleeducate/appreview/AppReviewPlugin.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/src/main/java/com/appleeducate/appreview/AppReviewPlugin.java b/android/src/main/java/com/appleeducate/appreview/AppReviewPlugin.java index 82e569c..f11e471 100644 --- a/android/src/main/java/com/appleeducate/appreview/AppReviewPlugin.java +++ b/android/src/main/java/com/appleeducate/appreview/AppReviewPlugin.java @@ -8,8 +8,8 @@ import com.google.android.play.core.review.ReviewInfo; import com.google.android.play.core.review.ReviewManager; import com.google.android.play.core.review.ReviewManagerFactory; -import com.google.android.play.core.tasks.OnCompleteListener; -import com.google.android.play.core.tasks.Task; +import com.google.android.gms.tasks.OnCompleteListener; +import com.google.android.gms.tasks.Task; import java.lang.ref.WeakReference;