gpt4 book ai didi

android - Google Play 控制台上的免费应用内产品,非消耗品?

转载 作者:行者123 更新时间:2023-11-29 20:46:04 25 4
gpt4 key购买 nike

对于任何成功的消费品购买,我想删除广告。轮到它必须是非消耗品才能恢复。

ItunesConnect 有免费套餐,但 Google Play 控制台没有。有什么解决方法吗?

提前致谢。

最佳答案

应用内结算版本 3 服务仅支持托管的应用内产品或订阅。这意味着所有消耗品和非消耗品都是受管元素。

如果您卸载应用程序,购买信息仍然存在于与用户帐户关联的谷歌服务器上,您可以在重新安装应用程序时请求它。

引用docs

When a user purchases a managed in-app item, Google Play stores the purchase information for each item on a per-user basis. This enables you to later query Google Play at any time to restore the state of the items a specific user has purchased. This information is persistent on the Google Play servers even if the user uninstalls the application or if they change devices.

您不应使用购买的商品,因为在购买后永久删除广告意味着它是应用内不可消费的产品。

Non consumable products

Typically, you would not implement consumption for in-app products that can only be purchased once in your application and provide a permanent benefit. Once purchased, these items will be permanently associated to the user's Google account. An example of a non-consumable in-app product is a premium upgrade or a level pack.

因此,当您重新安装该应用时,查询用户的购买情况,如果找到有效的非消耗品购买,则隐藏您的广告。

关于android - Google Play 控制台上的免费应用内产品,非消耗品?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30333692/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com