【问题标题】:Revenuecat products are null while testing and trying to design paywall在测试和尝试设计付费墙时,Revenuecat 产品为空
【发布时间】:2020-10-26 03:07:51
【问题描述】:

尝试按照 RevenueCat 提供的示例 Flutter 应用程序设计付费墙,并且在我配置产品时始终为空。

运行版本购买_flutter:^1.1.1

Offerings.current = NULL

在 Google 控制台中,应用 ID 为:com.sampleapp.moments.1month、com.sampleapp.moments.yearly,并且都处于活动状态。

如果产品为空,我该如何测试和设计付费专区页面?我怎样才能让它工作?

错误码,示例如下:https://github.com/RevenueCat/purchases-flutter/blob/develop/example/lib/main.dart

[        ] D/[Purchases] - DEBUG(14481): Requesting products with identifiers: com.sampleapp.moments.1month, com.appname.moments.yearly
[  +82 ms] D/[Purchases] - DEBUG(14481): Products request finished for com.sampleapp.moments.1month, com.sampleapp.moments.yearly
[        ] D/[Purchases] - DEBUG(14481): Retrieved skuDetailsList: 
[        ] D/[Purchases] - DEBUG(14481): Requesting products with identifiers: com.sampleapp.moments.1month, com.sampleapp.moments.yearly
[        ] D/[Purchases] - DEBUG(14481): Products request finished for com.sampleapp.moments.1month, com.sampleapp.moments.yearly
[        ] D/[Purchases] - DEBUG(14481): Retrieved skuDetailsList: 
[+3804 ms] D/[Purchases] - DEBUG(14481): Vending purchaserInfo from cache
[  +99 ms] D/[Purchases] - DEBUG(14481): Vending offerings from cache

【问题讨论】:

    标签: flutter revenuecat


    【解决方案1】:

    如果您的产品、服务或包裹为空,则很可能与 Apple/Google 中的配置或设置问题有关。

    在 Android 上,您需要将您的应用发布到一个封闭的轨道,然后才能获取任何产品或测试购买 - 这可能就是这里发生的事情。

    这里有一个方便的指南,概述了常见的原因:https://support.revenuecat.com/hc/en-us/articles/360041793174-Why-are-my-products-offerings-or-available-packages-empty-

    【讨论】:

      猜你喜欢
      • 2021-10-10
      • 1970-01-01
      • 1970-01-01
      • 2019-04-22
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多