- Home /
[Android] Keeping track of unique players
Hello,
I am at the point of development where I need to figure out a way to keep track of users for a simple feature (global leaderboards). My game does not have a public facing account registration system. What is the best way to keep track of unique players that play on a single device?
My approach to this problem would be to obtain the Android_ID of the device and use that as the identifier for a single unique player. I am planning to use this ID to authenticate with a web service that exposes REST API's to write data into a database.
Would this approach be sufficient? Are there any pitfalls that I am not seeing?
I have done some searching online and couldn't find anything related to this topic. If anyone has faced this issue, I am interested to know how you approached this problem.
Answer by blinkafrootable · Jul 25, 2019 at 03:02 PM
I don't have as much experience with this as I'd want to in order to give a confident answer, but I think that you can link the user's Google account when developing for Android. I believe that that'd be more reliable than getting their Android ID and, that way, they can use a different device but still use the same ID. If you don't know what I'm talking about exactly, this picture shows it Linked to Google
Your answer