Skip to content

Commit

Permalink
bumped to billing library v7 because of deadline (#549)
Browse files Browse the repository at this point in the history
* bumped to billing library v7 because of deadlines and min api lvl 21 to comply with v7 prequisites

* replaced setOldSkuPurchaseToken with setOldPurchaseToken

---------

Co-authored-by: Cherd <julian.mueller@source-dev.de>
Co-authored-by: Julian Müller <julian.mueller@bankmedia.de>
  • Loading branch information
3 people authored Jul 11, 2024
1 parent 2748997 commit af6a5d9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ android {
compileSdk = 33
buildToolsVersion = '30.0.3'

minSdkVersion 19
minSdkVersion 21
targetSdkVersion 33
consumerProguardFiles 'progress-proguard.txt'
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
Expand All @@ -33,7 +33,7 @@ dependencies {
androidTestImplementation 'androidx.test:rules:1.4.0'
androidTestImplementation 'androidx.test:runner:1.4.0'
implementation 'androidx.annotation:annotation:1.3.0'
implementation 'com.android.billingclient:billing:6.1.0'
implementation 'com.android.billingclient:billing:7.0.0'
}

task androidJavadocs(type: Javadoc) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,8 @@ public void run()
billingFlowParamsBuilder.setSubscriptionUpdateParams(
BillingFlowParams.SubscriptionUpdateParams
.newBuilder()
.setOldSkuPurchaseToken(oldToken)

.setOldPurchaseToken(oldToken)
.build());
}
}
Expand Down
2 changes: 1 addition & 1 deletion sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ android {
defaultConfig {
versionCode 5
versionName '5.0'
minSdkVersion 19
minSdkVersion 21
targetSdkVersion 33
compileSdk = 33
buildToolsVersion = '30.0.3'
Expand Down

0 comments on commit af6a5d9

Please sign in to comment.