【问题标题】:Check Android inventory/subscription outside the app itself在应用程序本身之外检查 Android 库存/订阅
【发布时间】:2015-02-01 00:00:17
【问题描述】:

我想从 Android 应用程序外部(例如,在服务器上)查询用户的库存。 android 应用程序是否可以将令牌或某种唯一标识符传递给服务器,然后可用于直接从 Google 查询库存。

提前致谢

【问题讨论】:

    标签: android in-app-billing android-billing


    【解决方案1】:

    有官方API:

    https://developers.google.com/android-publisher/

    这里的示例:

    https://github.com/googlesamples/android-play-publisher-api/tree/master/v2/java

    要访问 API,我们使用“服务帐户”。它是一种“服务器到服务器”类型的帐户,使用 UI 进行配置:

    https://play.google.com/apps/publish/#ApiAccessPlace.

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2015-11-04
      • 1970-01-01
      • 1970-01-01
      • 2012-10-02
      • 1970-01-01
      • 2018-05-20
      • 2016-08-04
      • 2019-01-25
      相关资源
      最近更新 更多