问题
I am getting the error "SERVICE_DISCONNECTED" on Android Studio when I try to make a purchase with RevenueCat. I've searched everywhere but nothing has worked so far.
I followed their quickstart guide and double checked everything but I can't get purchases to work.
The following is the full log of the error when I try to purchase:
W/BillingClient: Exception while launching billing flow: ; for sku: mysku; try to reconnect
W/[Purchases] - INFO: Error updating purchases. DebugMessage: Service connection is disconnected.. ErrorCode: SERVICE_DISCONNECTED.
E/[Purchases] - ERROR: There was a problem with the Play Store. | Error updating purchases. DebugMessage: Service connection is disconnected.. ErrorCode: SERVICE_DISCONNECTED.
W/[Purchases] - INFO: Failed to launch billing intent. DebugMessage: Service connection is disconnected.. ErrorCode: SERVICE_DISCONNECTED.
Thanks in advance!
来源:https://stackoverflow.com/questions/63031839/revenuecat-service-connection-is-disconnected