gpt4 book ai didi

android - Android App在试用期间取消订阅后什么时候得到 "Expired"状态

转载 作者:塔克拉玛干 更新时间:2023-11-02 08:36:17 24 4
gpt4 key购买 nike

我的 Android 应用程序中有一个“订阅免费试用”,购买订阅产品后,BillingService 将获得已购买状态。

但是,BillingService 在取消订阅后并没有得到 Expired 状态。

然而,根据Android Developer ,

"If necessary, the user can cancel the subscription at any time during the trial period. In this case, Google Play marks the subscription as expired immediately, rather than waiting until the end of the trial period."

但我的应用没有获得状态。

我想知道在试用期间取消订阅后,Android 应用什么时候会获得“过期”状态。

最佳答案

我也注意到了这一点。就我而言,购买状态仅在(7 天)试用期结束时发生变化,即使我在购买试用订阅后的几分钟内取消了。

我目前正在等待另一个取消的试用到期 - 现在已经 3 天了,购买状态仍然是 0(“购买成功”)。

更新:因此,您似乎需要定期恢复交易(谷歌表示您不应该这样做“因为性能影响”),或者您需要一个带有代码的网络服务器来使用服务器端 API 检查订阅详细信息 http://developer.android.com/google/play/billing/v2/billing_subscriptions.html#play-dev-api .然后,您的应用会查询您的网络服务器,该服务器只会在达到到期日期时检查 Google 的服务。

关于android - Android App在试用期间取消订阅后什么时候得到 "Expired"状态,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13984413/

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