【问题标题】:ReactJS: Google BILLING_UNAVAILABLE using In App Purchase 2 (Capacitor)ReactJS: Google BILLING_UNAVAILABLE using In App Purchase 2 (Capacitor)
【发布时间】:2022-12-27 19:49:00
【问题描述】:

I have followed the instructions and am getting errors when clicking the button to subscribe (product is a subscription, built in ReactJS using Capacitor)

startServiceConnection() -> Failed: BILLING_UNAVAILABLE: Billing service unavailable on device.
D/CordovaPurchase: init() -> Failed: BILLING_UNAVAILABLE: Billing service unavailable on device.
D/CordovaPurchase: callError({code:6777001, msg:"Setup failed. BILLING_UNAVAILABLE: Billing service unavailable on device.")

Everything is more or less the same as the IOS version and have added:

<uses-permission android:name="com.android.vending.BILLING" />

To the AndroidManifest.xml file.

I have deployed to Open Testing and when clicking on the button on my phone nothing appears, so something obviously broken...

I have the subscriptions setup under Monetize in the Play Store. So I don't understand why this is not working. Within the fovea dashboard I don't see anything Google related to Products (even though I have followed all instructions on that page, as well as sent a test notification from Google)

Any advice?

【问题讨论】:

    标签: reactjs in-app-purchase capacitor


    【解决方案1】:

    I've had the problem when debugging on emulator, while debugging on a real device it was gone, and I had a different error which helped me to find the root cause of my problem eventually.

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-02-15
      • 2013-08-18
      • 2014-02-13
      • 2016-11-23
      • 2016-03-15
      • 2019-07-22
      相关资源
      最近更新 更多