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/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/android/src/main/java/com/appleeducate/appreview/AppReviewPlugin.java b/android/src/main/java/com/appleeducate/appreview/AppReviewPlugin.java index b193611..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; @@ -155,4 +155,4 @@ public void onDetachedFromActivity() { currentActivity = null; } -} +} \ No newline at end of file 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..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.2+1 +version: 2.1.4 maintainer: Rody Davis (@rodydavis) homepage: https://github.com/rodydavis/plugins repository: https://github.com/fluttercommunity/app_review @@ -10,8 +10,8 @@ environment: flutter: ^1.10.0 dependencies: - http: ^1.1.0 - package_info_plus: ^5.0.0 + http: any + package_info_plus: ^6.0.0 url_launcher: ^6.1.6 flutter: sdk: flutter