【问题标题】:RevenueCat storeProblem when trying to purchase productRevenueCat 商店尝试购买产品时出现问题
【发布时间】:2021-10-10 08:52:44
【问题描述】:

我正在从incomecat 获取产品没有问题,我可以从控制台查看产品详细信息,并且它们在 Google Play 控制台中是正确的,但问题是(仅在 Android 中)当我尝试购买我得到关注的东西时错误:

E/[Purchases] - ERROR( 8481): ????‼️ Failed to launch billing intent. DebugMessage: Service connection is disconnected.. ErrorCode: SERVICE_DISCONNECTED.
E/[Purchases] - ERROR( 8481): ????‼️ BillingWrapper purchases failed to update: DebugMessage: Service connection is disconnected.. ErrorCode: SERVICE_DISCONNECTED.null
E/[Purchases] - ERROR( 8481): ????‼️ There was a problem with the Play Store.

我制作的步骤:

  • 我在 google play 控制台上配置了产品
  • 我已将收入猫连接到 google play 帐户(已连接)
  • 启用 pub/sub api
  • 创建服务帐户并将其连接到 google play 并授予当前应用的权限
  • 将产品输入到收入目录

正如我所说,IOS 仅在 Android 中没有问题(我可以在 IOS 中购买)。但是我可以毫无问题地获取它们,我可以看到详细信息。但我无法购买。

【问题讨论】:

  • Play 商店中是否有该应用的现有版本?还是这个应用程序还没有发布?如果应用尚未发布,Google 将很难测试 IAP
  • 该应用尚未发布,处于封闭轨道。但这不是问题,如果问题可能是这样,那么应该打开计费窗口然后它应该给出“此版本的应用程序未配置计费”错误。但它根本没有打开计费窗口
  • @BurakCabadan 你是在真机上测试吗?
  • 是的,我正在真实设备上进行测试

标签: flutter dart in-app-purchase revenuecat


【解决方案1】:

经过 2 周的研究,通过从 android 清单文件中删除 tools:node="replace" 行解决了问题

【讨论】:

    猜你喜欢
    • 2020-05-05
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-07-30
    • 2021-05-16
    • 2015-11-10
    相关资源
    最近更新 更多