You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I haven't landed on this use case yet. Sorry for the late reply, I was really tied up with college and everything. If you have the knowledge clear on this, please make a PR. Other than that I will deal with this issue when I find the relevant use case myself and that can take a month even more tbh.
Implement the method to Downgrade/Upgrade current subscriptions.
fun updateSubscription (activity: Activity, oldSku: String, purchaseTokenOfOriginalSubscription: String,sku: String) { val flowParams = BillingFlowParams.newBuilder() .setOldSku(oldSku, purchaseTokenOfOriginalSubscription) .setReplaceSkusProrationMode(IMMEDIATE_WITHOUT_PRORATION) .setSkuDetails(fetchedSkuDetailsList.find { it.sku == sku }!!) .build(); val responseCode = iapClient.launchBillingFlow(activity, flowParams) }
The text was updated successfully, but these errors were encountered: