获取谷歌ID,用于在应用程序内购买计费 [英] Get the Google ID used in an in-app billing purchase

查看:142
本文介绍了获取谷歌ID,用于在应用程序内购买计费的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

它已经到了我的注意,设备可能同时登录到它的多个谷歌帐户。据我所知,pre-蜂窝,还有一个主要的ID;从蜂巢上,你可以简单地插上几个。我现在有两个ID登录到我的测试片。

It has come to my attention that a device may have multiple Google accounts logged into it simultaneously. I understand that pre-Honeycomb, there is a primary ID; from Honeycomb on you can simply plug in several. I currently have two IDs logged into my test tablet.

当从谷歌购买播放,您可以选择哪个帐户被用来进行购买。我想在应用程序内结算添加到我正在写一个应用程序,我想确保每个谷歌ID获得其购买的任何设备,这意味着我需要知道哪个ID是用来做购买摆在首位。这意味着我需要做以下操作之一:

When purchasing from Google Play you can choose which account is used to make a purchase. I want to add in-app billing to an application I'm writing, and I want to make sure each Google ID gets its purchases on any device, which means I need to know which ID was used to make the purchase in the first place. This means I need to do one of the following:

  1. 在强制谷歌播放使用从内部用户我的应用程序选择了谷歌ID之一;
  2. 检索,谷歌玩用来做进货的ID。

该文件似乎已经写入,只有一个买家将永远是活跃的一个设备上的假设。是否有可能做到这一点?

The documentation seems to have been written with the assumption that only one purchaser would ever be active on one device. Is it possible to do this?

推荐答案

这似乎是一个问题,谷歌PlayStore应用程序。同样已报道在

This seems to be an issue with the Google PlayStore application. The same has been reported at

HTTPS://$c$c.google。 COM / P / marketbilling /问题/详细信息?ID = 76

这篇关于获取谷歌ID,用于在应用程序内购买计费的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆