RevenueCat 商店尝试购买产品时遇到问题

问题描述 投票:0回答:2

我正在从 Revenuecat 获取产品,没有问题,我可以从控制台看到产品详细信息,并且它们在 Google Play Console 中是正确的,但问题是(仅在 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 控制台上配置了产品
  • 我将 Revenuecat 连接到 google play 帐户(已连接)
  • 启用 pub/sub api
  • 创建服务帐户并将其连接到 google play 并授予当前应用程序的权限
  • 将产品输入revenuecat

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

flutter dart in-app-purchase revenuecat
2个回答
2
投票

经过 2 周的研究,通过从 Android 清单文件中删除

tools:node="replace"
行解决了问题


0
投票

为了解决这个问题,我做了 3 个步骤:

检查测试设备是否有 PIN。 检查测试设备是否已登录 Google Play 商店。 在 Google Play 上安装内部测试的应用程序,然后进行测试购买。然后就开始工作了。

仅此而已。

© www.soinside.com 2019 - 2024. All rights reserved.