After a DEFERRED replacement (A → B), Google Play marks the active subscription as “Plan change”, but RevenueCat SDK for Android doesn’t seem to expose this state where the active subscription is pending a plan change.
Could this be exposed from the RevenueCat SDK for the active subscriptions? I don’t seem to get any information from the RevenueCat Android SDK that the plan is about to change and to where the plan is going to change to. The backend does receive the “PRODUCT_CHANGE” webhook, but client side isn’t able to access the same information.
Seems to me also that the Paywall’s ProductChangeCalculator purchases-android/ui/revenuecatui/src/main/kotlin/com/revenuecat/purchases/ui/revenuecatui/data/ProductChangeCalculator.kt at main · RevenueCat/purchases-android is not doing any logic to handle the pending case, so if you attempt a second downgrade from the Paywall while the previous is pending you get.
“Paywall purchase error: One or more of the arguments provided are invalid.”, which likely comes from Google’s Billing library declining it.
Question
Android Purchases SDK: Could pending product change info be exposed from SDK?
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
