I want to get a name / ID of the user making a purchase. I would like to do without AccountManager
if possible, as its use requires an extra permission. Even with AccountManager
I don't see a way to determine the current account, so any advice is welcome.
I don't think that's even possible. I tried all possible ways before contacting Google support. And the reply I got was this:
Thanks for contacting Google Play Developer Support. Please note that Google does not provide access to any confidential user information, such as email address, mailing address, or phone numbers. We place a high value on user confidentiality and privacy, so I'm sure you can understand our position regarding this information.
We sincerely appreciate your understanding. Thanks for supporting Google Play!
Regards, Google Play Developer Support
In the query, we had clarified that it is for post-sales support.
Hope this helps.
Google stores an inventory of everything the user purchased via in app billing. You may be able to use an ID from one of the purchases as a unique id for your user. Of course, this requires that users purchase something first.
© 2022 - 2024 — McMap. All rights reserved.
AccountManager
. – Tallent