SERVICE_UNAVAILABLE 获取产品时出错。发生了内部错误。收入猫

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

我已在 Flutter 中正确安装 RevenueCat 并连接 Play 商店。我仍然收到这些错误。

有人遇到过这个问题吗?你解决了吗?

这是我收到的错误。

API request started: GET /subscribers/appUserID/offerings
D/[Purchases] - DEBUG(11357): API request completed with status: GET /subscribers/appUserID/offerings 304
D/[Purchases] - DEBUG(11357): ℹ️ Requesting products from the store with identifiers: plus_3_card_slots
W/BillingClient(11357): getSkuDetails() failed for queryProductDetailsAsync. Response code: 2
E/[Purchases] - ERROR(11357): 🤖‼️ Error when fetching products DebugMessage: An internal error occurred.. ErrorCode: SERVICE_UNAVAILABLE.
E/[Purchases] - ERROR(11357): 🤖‼️ PurchasesError(code=StoreProblemError, underlyingErrorMessage=Error when fetching products. DebugMessage: An internal error occurred.. ErrorCode: SERVICE_UNAVAILABLE., message='There was a problem with the store.')
E/[Purchases] - ERROR(11357): 🤖‼️ Error fetching offerings - PurchasesError(code=StoreProblemError, underlyingErrorMessage=Error when fetching products. DebugMessage: An internal error occurred.. ErrorCode: SERVICE_UNAVAILABLE., message='There was a problem with the store.')
  • 我的应用程序已发布在 Google Play 上。
  • 我已在 Google Play 上创建了一次性购买。
  • 在 Revenue Cat 创建优惠、权利、产品。
  • 添加了计费权限。
  • 在真实设备上测试。

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

flutter in-app-purchase revenuecat
1个回答
0
投票

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

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

仅此而已。

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