From 55664f33e6610f49911115d9d985f3a812eec8ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9luchu?= Date: Fri, 25 Aug 2023 13:44:34 +0200 Subject: [PATCH] Change setReplaceProrationMode to setSubscriptionReplacementMode --- jchucomponents-core/build.gradle | 2 +- jchucomponents-ktx/build.gradle | 2 +- .../kotlin/com/jeluchu/pay/playstore/SubscriptionsHelper.kt | 2 +- jchucomponents-prefs/build.gradle | 2 +- jchucomponents-qr/build.gradle | 2 +- jchucomponents-ui/build.gradle | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/jchucomponents-core/build.gradle b/jchucomponents-core/build.gradle index 87413a83..d6e4f8d7 100644 --- a/jchucomponents-core/build.gradle +++ b/jchucomponents-core/build.gradle @@ -50,7 +50,7 @@ afterEvaluate { from components.release groupId = "com.github.jeluchu" artifactId = "jchucomponents-core" - version = "1.8.0" + version = "1.8.3" } } } diff --git a/jchucomponents-ktx/build.gradle b/jchucomponents-ktx/build.gradle index 6a339472..4c96f961 100644 --- a/jchucomponents-ktx/build.gradle +++ b/jchucomponents-ktx/build.gradle @@ -45,7 +45,7 @@ afterEvaluate { from components.release groupId = "com.github.jeluchu" artifactId = "jchucomponents-ktx" - version = "1.8.0" + version = "1.8.3" } } } diff --git a/jchucomponents-pay/src/main/kotlin/com/jeluchu/pay/playstore/SubscriptionsHelper.kt b/jchucomponents-pay/src/main/kotlin/com/jeluchu/pay/playstore/SubscriptionsHelper.kt index e3b3ce62..f801eca1 100644 --- a/jchucomponents-pay/src/main/kotlin/com/jeluchu/pay/playstore/SubscriptionsHelper.kt +++ b/jchucomponents-pay/src/main/kotlin/com/jeluchu/pay/playstore/SubscriptionsHelper.kt @@ -165,7 +165,7 @@ data class SubscriptionsHelper(private val context: Context, val subscripttions: .setSubscriptionUpdateParams( BillingFlowParams.SubscriptionUpdateParams.newBuilder() .setOldPurchaseToken(purchase.purchaseToken) - .setReplaceProrationMode(BillingFlowParams.ProrationMode.IMMEDIATE_AND_CHARGE_FULL_PRICE) + .setSubscriptionReplacementMode(BillingFlowParams.SubscriptionUpdateParams.ReplacementMode.CHARGE_FULL_PRICE) .build() ) .build() diff --git a/jchucomponents-prefs/build.gradle b/jchucomponents-prefs/build.gradle index 9f161ce2..e82f5712 100644 --- a/jchucomponents-prefs/build.gradle +++ b/jchucomponents-prefs/build.gradle @@ -46,7 +46,7 @@ afterEvaluate { from components.release groupId = "com.github.jeluchu" artifactId = "jchucomponents-prefs" - version = "1.8.0" + version = "1.8.3" } } } diff --git a/jchucomponents-qr/build.gradle b/jchucomponents-qr/build.gradle index 0848b94a..7284569e 100644 --- a/jchucomponents-qr/build.gradle +++ b/jchucomponents-qr/build.gradle @@ -42,7 +42,7 @@ afterEvaluate { from components.release groupId = "com.github.jeluchu" artifactId = "jchucomponents-qr" - version = "1.8.0" + version = "1.8.3" } } } diff --git a/jchucomponents-ui/build.gradle b/jchucomponents-ui/build.gradle index c547c135..d7b0b9a2 100644 --- a/jchucomponents-ui/build.gradle +++ b/jchucomponents-ui/build.gradle @@ -48,7 +48,7 @@ afterEvaluate { from components.release groupId = "com.github.jeluchu" artifactId = "jchucomponents-ui" - version = "1.8.0" + version = "1.8.3" } } }