SuddenH4X / awesome-app-rating

An Android library providing a dialog, which asks the user to rate the app or give feedback. You can also use the library to show the Google in-app review easily under certain conditions.
Apache License 2.0
231 stars 39 forks source link

incomplete with the new app core version #98

Open MoatazBadawy opened 4 months ago

MoatazBadawy commented 4 months ago

when trying to add the library with androidx-core-play-inAppUpdateCore = { group = "com.google.android.play", name = "app-update", version.ref = "corePlayInAppUpate" } androidx-core-play-inAppUpdateKotlin = { group = "com.google.android.play", name = "app-update-ktx", version.ref = "corePlayInAppUpate" }

I get this error Duplicate class com.google.android.play.core.appupdate.AppUpdateInfo found in modules app-update-2.1.0.aar -> app-update-2.1.0-runtime (com.google.android.play:app-update:2.1.0) and core-1.10.0.aar -> core-1.10.0-runtime (com.google.android.play:core:1.10.0) Duplicate class com.google.android.play.core.appupdate.AppUpdateManager found in modules app-update-2.1.0.aar -> app-update-2.1.0-runtime (com.google.android.play:app-update:2.1.0) and core-1.10.0.aar -> core-1.10.0-runtime (com.google.android.play:core:1.10.0) Duplicate class com.google.android.play.core.appupdate.AppUpdateManagerFactory found in modules app-update-2.1.0.aar -> app-update-2.1.0-runtime (com.google.android.play:app-update:2.1.0) and core-1.10.0.aar -> core-1.10.0-runtime (com.google.android.play:core:1.10.0) Duplicate class com.google.android.play.core.appupdate.AppUpdateOptions found in modules app-update-2.1.0.aar -> app-update-2.1.0-runtime (com.google.android.play:app-update:2.1.0) and core-1.10.0.aar -> core-1.10.0-runtime (com.google.android.play:core:1.10.0) Duplicate class com.google.android.play.core.appupdate.AppUpdateOptions$Builder found in modules app-update-2.1.0.aar -> app-update-2.1.0-runtime (com.google.android.play:app-update:2.1.0) and core-1.10.0.aar -> core-1.10.0-runtime (com.google.android.play:core:1.10.0) Duplicate class com.google.android.play.core.appupdate.testing.FakeAppUpdateManager found in modules app-update-2.1.0.aar -> app-update-2.1.0-runtime (com.google.android.play:app-update:2.1.0) and core-1.10.0.aar -> core-1.10.0-runtime (com.google.android.play:core:1.10.0) Duplicate class com.google.android.play.core.common.IntentSenderForResultStarter found in modules core-1.10.0.aar -> core-1.10.0-runtime (com.google.android.play:core:1.10.0) and core-common-2.0.3.aar -> core-common-2.0.3-runtime (com.google.android.play:core-common:2.0.3) Duplicate class com.google.android.play.core.common.LocalTestingException found in modules core-1.10.0.aar -> core-1.10.0-runtime (com.google.android.play:core:1.10.0) and core-common-2.0.3.aar -> core-common-2.0.3-runtime (com.google.android.play:core-common:2.0.3) Duplicate class com.google.android.play.core.common.PlayCoreDialogWrapperActivity found in modules core-1.10.0.aar -> core-1.10.0-runtime (com.google.android.play:core:1.10.0) and core-common-2.0.3.aar -> core-common-2.0.3-runtime (com.google.android.play:core-common:2.0.3) Duplicate class com.google.android.play.core.install.InstallException found in modules app-update-2.1.0.aar -> app-update-2.1.0-runtime (com.google.android.play:app-update:2.1.0) and core-1.10.0.aar -> core-1.10.0-runtime (com.google.android.play:core:1.10.0) Duplicate class com.google.android.play.core.install.InstallState found in modules app-update-2.1.0.aar -> app-update-2.1.0-runtime (com.google.android.play:app-update:2.1.0) and core-1.10.0.aar -> core-1.10.0-runtime (com.google.android.play:core:1.10.0) Duplicate class com.google.android.play.core.install.InstallStateUpdatedListener found in modules app-update-2.1.0.aar -> app-update-2.1.0-runtime (com.google.android.play:app-update:2.1.0) and core-1.10.0.aar -> core-1.10.0-runtime (com.google.android.play:core:1.10.0) Duplicate class com.google.android.play.core.install.NativeInstallStateUpdateListener found in modules app-update-2.1.0.aar -> app-update-2.1.0-runtime (com.google.android.play:app-update:2.1.0) and core-1.10.0.aar -> core-1.10.0-runtime (com.google.android.play:core:1.10.0) Duplicate class com.google.android.play.core.install.model.ActivityResult found in modules app-update-2.1.0.aar -> app-update-2.1.0-runtime (com.google.android.play:app-update:2.1.0) and core-1.10.0.aar -> core-1.10.0-runtime (com.google.android.play:core:1.10.0) Duplicate class com.google.android.play.core.install.model.AppUpdateType found in modules app-update-2.1.0.aar -> app-update-2.1.0-runtime (com.google.android.play:app-update:2.1.0) and core-1.10.0.aar -> core-1.10.0-runtime (com.google.android.play:core:1.10.0) Duplicate class com.google.android.play.core.install.model.InstallErrorCode found in modules app-update-2.1.0.aar -> app-update-2.1.0-runtime (com.google.android.play:app-update:2.1.0) and core-1.10.0.aar -> core-1.10.0-runtime (com.google.android.play:core:1.10.0) Duplicate class com.google.android.play.core.install.model.InstallStatus found in modules app-update-2.1.0.aar -> app-update-2.1.0-runtime (com.google.android.play:app-update:2.1.0) and core-1.10.0.aar -> core-1.10.0-runtime (com.google.android.play:core:1.10.0) Duplicate class com.google.android.play.core.install.model.UpdateAvailability found in modules app-update-2.1.0.aar -> app-update-2.1.0-runtime (com.google.android.play:app-update:2.1.0) and core-1.10.0.aar -> core-1.10.0-runtime (com.google.android.play:core:1.10.0) Duplicate class com.google.android.play.core.ktx.AppUpdateManagerKtxKt found in modules app-update-ktx-2.1.0.aar -> app-update-ktx-2.1.0-runtime (com.google.android.play:app-update-ktx:2.1.0) and core-ktx-1.8.1.aar -> core-ktx-1.8.1-runtime (com.google.android.play:core-ktx:1.8.1) Duplicate class com.google.android.play.core.ktx.AppUpdateManagerKtxKt$requestAppUpdateInfo$1 found in modules app-update-ktx-2.1.0.aar -> app-update-ktx-2.1.0-runtime (com.google.android.play:app-update-ktx:2.1.0) and core-ktx-1.8.1.aar -> core-ktx-1.8.1-runtime (com.google.android.play:core-ktx:1.8.1) Duplicate class com.google.android.play.core.ktx.AppUpdateManagerKtxKt$requestUpdateFlow$1 found in modules app-update-ktx-2.1.0.aar -> app-update-ktx-2.1.0-runtime (com.google.android.play:app-update-ktx:2.1.0) and core-ktx-1.8.1.aar -> core-ktx-1.8.1-runtime (com.google.android.play:core-ktx:1.8.1) Duplicate class com.google.android.play.core.ktx.AppUpdateManagerKtxKt$requestUpdateFlow$1$1 found in modules app-update-ktx-2.1.0.aar -> app-update-ktx-2.1.0-runtime (com.google.android.play:app-update-ktx:2.1.0) and core-ktx-1.8.1.aar -> core-ktx-1.8.1-runtime (com.google.android.play:core-ktx:1.8.1) Duplicate class com.google.android.play.core.ktx.AppUpdateManagerKtxKt$requestUpdateFlow$1$2 found in modules app-update-ktx-2.1.0.aar -> app-update-ktx-2.1.0-runtime (com.google.android.play:app-update-ktx:2.1.0) and core-ktx-1.8.1.aar -> core-ktx-1.8.1-runtime (com.google.android.play:core-ktx:1.8.1) Duplicate class com.google.android.play.core.ktx.AppUpdateManagerKtxKt$requestUpdateFlow$1$3 found in modules app-update-ktx-2.1.0.aar -> app-update-ktx-2.1.0-runtime (com.google.android.play:app-update-ktx:2.1.0) and core-ktx-1.8.1.aar -> core-ktx-1.8.1-runtime (com.google.android.play:core-ktx:1.8.1) Duplicate class com.google.android.play.core.ktx.AppUpdateManagerKtxKt$requestUpdateFlow$1$globalUpdateListener$1 found in modules app-update-ktx-2.1.0.aar -> app-update-ktx-2.1.0-runtime (com.google.android.play:app-update-ktx:2.1.0) and core-ktx-1.8.1.aar -> core-ktx-1.8.1-runtime (com.google.android.play:core-ktx:1.8.1) Duplicate class com.google.android.play.core.ktx.AppUpdateManagerKtxKt$requestUpdateFlow$1$globalUpdateListener$2 found in modules app-update-ktx-2.1.0.aar -> app-update-ktx-2.1.0-runtime (com.google.android.play:app-update-ktx:2.1.0) and core-ktx-1.8.1.aar -> core-ktx-1.8.1-runtime (com.google.android.play:core-ktx:1.8.1) Duplicate class com.google.android.play.core.ktx.AppUpdateManagerKtxKt$startUpdateFlowForResult$1 found in modules app-update-ktx-2.1.0.aar -> app-update-ktx-2.1.0-runtime (com.google.android.play:app-update-ktx:2.1.0) and core-ktx-1.8.1.aar -> core-ktx-1.8.1-runtime (com.google.android.play:core-ktx:1.8.1) Duplicate class com.google.android.play.core.ktx.AppUpdatePassthroughListener found in modules app-update-ktx-2.1.0.aar -> app-update-ktx-2.1.0-runtime (com.google.android.play:app-update-ktx:2.1.0) and core-ktx-1.8.1.aar -> core-ktx-1.8.1-runtime (com.google.android.play:core-ktx:1.8.1) Duplicate class com.google.android.play.core.ktx.AppUpdateResult found in modules app-update-ktx-2.1.0.aar -> app-update-ktx-2.1.0-runtime (com.google.android.play:app-update-ktx:2.1.0) and core-ktx-1.8.1.aar -> core-ktx-1.8.1-runtime (com.google.android.play:core-ktx:1.8.1) Duplicate class com.google.android.play.core.ktx.AppUpdateResult$Available found in modules app-update-ktx-2.1.0.aar -> app-update-ktx-2.1.0-runtime (com.google.android.play:app-update-ktx:2.1.0) and core-ktx-1.8.1.aar -> core-ktx-1.8.1-runtime (com.google.android.play:core-ktx:1.8.1) Duplicate class com.google.android.play.core.ktx.AppUpdateResult$Downloaded found in modules app-update-ktx-2.1.0.aar -> app-update-ktx-2.1.0-runtime (com.google.android.play:app-update-ktx:2.1.0) and core-ktx-1.8.1.aar -> core-ktx-1.8.1-runtime (com.google.android.play:core-ktx:1.8.1) Duplicate class com.google.android.play.core.ktx.AppUpdateResult$InProgress found in modules app-update-ktx-2.1.0.aar -> app-update-ktx-2.1.0-runtime (com.google.android.play:app-update-ktx:2.1.0) and core-ktx-1.8.1.aar -> core-ktx-1.8.1-runtime (com.google.android.play:core-ktx:1.8.1) Duplicate class com.google.android.play.core.ktx.AppUpdateResult$NotAvailable found in modules app-update-ktx-2.1.0.aar -> app-update-ktx-2.1.0-runtime (com.google.android.play:app-update-ktx:2.1.0) and core-ktx-1.8.1.aar -> core-ktx-1.8.1-runtime (com.google.android.play:core-ktx:1.8.1) Duplicate class com.google.android.play.core.listener.StateUpdatedListener found in modules core-1.10.0.aar -> core-1.10.0-runtime (com.google.android.play:core:1.10.0) and core-common-2.0.3.aar -> core-common-2.0.3-runtime (com.google.android.play:core-common:2.0.3)