简体   繁体   English

购买应用中的Android消耗品:获取用户信息

[英]Android consumable in app purchase: get user information

Is there a way to check which users bought when a consumable of my app? 有什么方法可以检查我的应用消耗品时哪些用户购买了? Not in the app itself but in the developer console/order management. 不在应用程序本身,而是在开发人员控制台/订单管理中。 Currently I only see an order id and a token, but would need some custom information or at least the user's email address or sth like that... 目前,我只看到订单ID和令牌,但需要一些自定义信息,或者至少需要用户的电子邮件地址或类似的信息……

Nope. 不。 You'll need to link purchases to userIds yourself. 您需要自己将购买链接到userIds。 Google will link that purchase to the users Play Store account, so they can potentially restore the purchase if they've reinstalled the app or gotten a new phone. Google会将购买的商品链接到用户的Play商店帐户,这样,如果他们重新安装了应用程序或购买了新手机,他们就有可能恢复购买的商品。

If you don't want to manage your own server, it may be worth using a tool like RevenueCat , that offer a purchase/subscription backend-as-a-service. 如果您不想管理自己的服务器,则最好使用RevenueCat之类的工具来提供购买/订阅后端即服务。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM