android - Google billing 消耗品和非消耗品

标签 android google-play in-app-purchase google-play-services in-app-billing

我需要在 Google 控制台中创建新的应用内购买。我看到的唯一 2 个选项是“管理产品”和“订阅”

在“托管产品”中,我只有 1 个“创建托管产品”选项。

然而,在Google's documentation它将一次性产品称为 “消耗品”和“非消耗品”

这个套装在哪里? 我错过了哪一部分?

我们已经创建了一些托管产品,但似乎我们只能购买它们一次 - 我们想多次购买它们。

谢谢。

最佳答案

首先,“Consumable”和“Non-consumable”不是一个In-App billing term。它们仅用于解释用例。

来自 Indicate a one-time product has been consumed节,

To indicate that a one-time product has been consumed, call the consumeAsync() method

如果调用 consumeAsync(),它会再次变成可购买的,这意味着它变成了“Consumable”。

关于android - Google billing 消耗品和非消耗品,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54373882/

相关文章:

flutter - 如何将应用内购买功能添加到我的 Flutter 应用中?

android - 菜单项下工具栏的下边框未正常显示

android - 如何将依赖项添加到 gradle.build

android - 如何限制我的 Android 应用程序在 Google Play 商店以外的地方发布?

android - 8月1日之后,我可以更新我的Android应用程序以支持64位吗?

android - 如何在 Google Play Developer Console 中找到 Android 应用的帐户所有者?

SwiftyStoreKit。如何在不输入密码的情况下验证订阅?

ios - 如何在应用程序内购买功能中以编程方式更改产品价格?

android - 执行脚本IntrinsicYuvToRgb

android - 如何更改 Android 接近传感器灵敏度?