Skip to main content
Question

React-native Android failures - Billing is disconnected and purchase methods won't work.

  • December 8, 2025
  • 1 reply
  • 31 views

Forum|alt.badge.img

Hey,

 

We are trying to use revenuecat react-native-purchases library in our project, we were able to successfully set it up, some transactions works perfectly, but unfortunately some don’t
We are using react-native-purchases: 9.6.8, with react-native: 0.73.11, we didn’t configure it for iOS yet, we started with Android, problem below is related to Android platform only.

Problem:
When calling await Purchases.purchasePackage(selectedPackage) method, we get warning that says:

🤖‼️Billing is disconnected and purchase methods won't work. Stacktrace: java.lang.Throwable
at com.revenuecat.purchases.google.BillingWrapper.getStackTrace(BillingWrapper.kt:814)
at com.revenuecat.purchases.google.BillingWrapper.access$getStackTrace(BillingWrapper.kt:82)
at com.revenuecat.purchases.google.BillingWrapper$withConnectedClient$$inlined$log$1.invoke(logWrapper.kt:37)
at com.revenuecat.purchases.google.BillingWrapper$withConnectedClient$$inlined$log$1.invoke(logWrapper.kt:36)
at com.revenuecat.purchases.google.BillingWrapper.withConnectedClient(BillingWrapper.kt:2283)
at com.revenuecat.purchases.google.BillingWrapper.launchBillingFlow(BillingWrapper.kt:344)
at com.revenuecat.purchases.google.BillingWrapper.access$launchBillingFlow(BillingWrapper.kt:82)
at com.revenuecat.purchases.google.BillingWrapper$makePurchaseAsync$4.invoke(BillingWrapper.kt:329)
at com.revenuecat.purchases.google.BillingWrapper$makePurchaseAsync$4.invoke(BillingWrapper.kt:316)
at com.revenuecat.purchases.google.BillingWrapper.executeRequestOnUIThread(BillingWrapper.kt:213)
at com.revenuecat.purchases.google.BillingWrapper.executeRequestOnUIThread$default(BillingWrapper.kt:203)
at com.revenuecat.purchases.google.BillingWrapper.makePurchaseAsync(BillingWrapper.kt:316)
at com.revenuecat.purchases.PurchasesOrchestrator.startPurchase(PurchasesOrchestrator.kt:1420)
at com.revenuecat.purchases.PurchasesOrchestrator.purchase(PurchasesOrchestrator.kt:611)
at com.revenuecat.purchases.Purchases.purchase(Purchases.kt:374)
at com.revenuecat.purchases.ListenerConversionsCommonKt.purchaseWith(ListenerConversionsCommon.kt:90)
at com.revenuecat.purchases.hybridcommon.CommonKt$purchasePackage$2.invoke(common.kt:547)
at com.revenuecat.purchases.hybridcommon.CommonKt$purchasePackage$2.invoke(common.kt:461)
at com.revenuecat.purchases.ListenerConversionsCommonKt$receiveOfferingsCallback$1.onReceived(ListenerConversionsCommon.kt:45)
at com.revenuecat.purchases.PurchasesOrchestrator$getOfferings$2.invoke(PurchasesOrchestrator.kt:531)
at com.revenuecat.purchases.PurchasesOrchestrator$getOfferings$2.invoke(PurchasesOrchestrator.kt:527)
at com.revenuecat.purchases.common.offerings.OfferingsManager$getOfferings$8.invoke(OfferingsManager.kt:92)
at com.revenuecat.purchases.common.offerings.OfferingsManager$getOfferings$8.invoke(OfferingsManager.kt:92)
at com.revenuecat.purchases.common.offerings.OfferingsManager.dispatch$lambda$7(OfferingsManager.kt:217)
at com.revenuecat.purchases.common.offerings.OfferingsManager.$r8$lambda$rufjbSuWGfuSXpD21hl-TsEE5Bo(Unknown Source:0)
at com.revenuecat.purchases.common.offerings.OfferingsManager$$ExternalSyntheticLambda0.run(Unknown Source:2)
at android.os.Handler.handleCallback(Handler.java:959)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loopOnce(Looper.java:257)
at android.os.Looper.loop(Looper.java:342)
at android.app.ActivityThread.main(ActivityThread.java:9638)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:619)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:929)

Unfortunately we don’t even get error thrown from await Purchases.purchasePackage(selectedPackage) call in that case. And that method doesn’t return anything, seems like this method gets stuck for some reason. After we get this warning, when we kill app, and try to do purchase again, we are getting 

😿‼️ PurchasesError(code=OperationAlreadyInProgressError, underlyingErrorMessage=null, message='The operation is already in progress.')

 

In most of cases whole transaction works great, but sometimes we get above issue, and we have no idea how to deal with it. We would love to get that fixed somehow.

“Billing is disconnected and purchase methods won't work.” warning suggests that maybe we should try to reconnect somehow, but i can’t find any methods in react-native sdk that could possibly do that. Can you help us somehow and possibly provide some debugging steps to help us? Do you have any idea what can be a problem here?

1 reply

Forum|alt.badge.img
  • Author
  • New Member
  • December 8, 2025

I also checked latest 9.6.9 version of react-native-purchases, and we are getting the same issue using it