【问题标题】:How to detect user in app subscription cancel or renew in android? [closed]如何在android中检测应用订阅中的用户取消或续订? [关闭]
【发布时间】:2020-12-14 14:35:42
【问题描述】:

如何在 android 中检测应用订阅取消或续订的用户 爪哇。请逐步告诉我我是新的android开发人员,谢谢。

【问题讨论】:

    标签: android in-app-subscription


    【解决方案1】:

    Google Play 通过 In-app Billing API 将购买令牌返回给购买应用。您的应用可以在本地存储令牌或将其传递到后端服务器,然后后端服务器可以使用它通过 Google Play Developer API 远程验证或取消订阅。User Billing Android Docs

    如果用户取消订阅购买。订阅在到期前一直有效。Purchases. subscriptions: cancel Google Docs

    另外,您可以在androidhttps://developer.android.com/google/play/developer-api.html#subscriptions_api_overview尝试应用内购买API

    【讨论】:

      猜你喜欢
      • 2019-10-18
      • 1970-01-01
      • 2021-12-12
      • 2015-10-07
      • 2017-01-10
      • 1970-01-01
      • 1970-01-01
      • 2023-03-10
      • 2016-08-04
      相关资源
      最近更新 更多