Skip to content

Commit

Permalink
build: replace core library with app-update and review
Browse files Browse the repository at this point in the history
> The Google Play Core Java and Kotlin library have been split into multiple separate libraries, one for each feature.

https://developer.android.com/reference/com/google/android/play/core/release-notes#partitioned-apis
  • Loading branch information
wzieba committed Jan 22, 2024
1 parent 2ca6ebf commit 3d08887
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion WooCommerce/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,8 @@ dependencies {
implementation "com.github.bumptech.glide:glide:$glideVersion"
kapt "com.github.bumptech.glide:compiler:$glideVersion"
implementation "com.github.bumptech.glide:volley-integration:$glideVersion@aar"
implementation "com.google.android.play:core:$googlePlayCoreVersion"
implementation 'com.google.android.play:app-update-ktx:2.1.0'
implementation 'com.google.android.play:review-ktx:2.0.1'

implementation 'com.google.android.gms:play-services-code-scanner:16.0.0-beta3'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ abstract class AppUpgradeActivity :

private fun requestAppUpdate(appUpdateInfo: AppUpdateInfo) {
try {
@Suppress("DEPRECATION")
appUpdateManager.startUpdateFlowForResult(
appUpdateInfo,
inAppUpdateType,
Expand Down

0 comments on commit 3d08887

Please sign in to comment.