I'm not saying that getting the Google account name via the API wouldn't be useful, but unfortunately that doesn't exist right now. I agree that forcing accounts is not user friendly and probably isn't a good idea for the majority of apps, but it is an option that may be considered. Sticking with the default IAB model of purchases being tied to the Google account that downloaded the app works for most cases and users have a reasonable expectation of how that will work.
What I meant by current Google account is what Alexander mentioned previously, that the Google account making the purchase is the one that downloaded the app from the Play store. On Sunday, September 29, 2013 9:48:18 PM UTC-4, Nikolay Elenkov wrote: > > On Mon, Sep 30, 2013 at 7:56 AM, kj <scwe...@gmail.com <javascript:>> > wrote: > > The Google IAB dialog has the Google account name that will be > associated > > with the purchase. In-app purchases are generally understood to be tied > to > > your Google account and apps you download/purchase are associated with > the > > account used in Google play. > >... > > ... If you need more explicit guaruntees of user behavior, force them to > make > > accounts. > > Your point being? Letting the developer know what account the user used to > buy an IAB item, etc. is genuinely useful. It has been requested countless > times, but the it's not part of the API. 'Force them to make accounts' is > hardly user friendly and is really BS in a world where people are used to > simply using their Google/FB, etc. account. Additionally Google is > aggressively > pushing OAuth and more specifically G+ accounts for *everything* now, so > forcing people to create a bunch of throw-away accounts just to > compensate for the limitations of the IAB API is not only bad advice, it > also > goes against even Google's policy. And BTW, what exactly is 'the current > Google account'? > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.