diff --git a/src/android/CDVAppUpdate.java b/src/android/CDVAppUpdate.java index 18c6921..304b341 100644 --- a/src/android/CDVAppUpdate.java +++ b/src/android/CDVAppUpdate.java @@ -48,7 +48,7 @@ import com.google.android.play.core.appupdate.AppUpdateManagerFactory; import com.google.android.play.core.install.model.AppUpdateType; import com.google.android.play.core.install.model.UpdateAvailability; -import com.google.android.play.core.tasks.Task; +import com.google.android.gms.tasks.Task; import com.android.volley.RequestQueue; diff --git a/src/android/build.gradle b/src/android/build.gradle index b6fc746..fd6f702 100644 --- a/src/android/build.gradle +++ b/src/android/build.gradle @@ -1,12 +1,14 @@ android { compileOptions { - sourceCompatibility JavaVersion.VERSION_1_8 - targetCompatibility JavaVersion.VERSION_1_8 + sourceCompatibility JavaVersion.VERSION_20 + targetCompatibility JavaVersion.VERSION_20 } } dependencies { // Load the google play core library - implementation 'com.google.android.play:core:1.10.0' + //implementation 'com.google.android.play:core:1.10.0' + implementation 'com.google.android.play:review:2.0.1' + implementation 'com.google.android.play:app-update:2.1.0' implementation 'com.android.volley:volley:1.2.1' }