Page 1 of 1

recognizing the user in a android-game

Posted: Sat Sep 16, 2017 10:05 am
by Dudenheit
Hi,

I am new to the usage of love for android-games.
And I have one question for the beginning, which is important for the future composition of the game.
How can you get a user-ID (for example the google-playstore-account) from the current love-app-user?
The love-app should be able to recognize the user even if the installation of the app is refreshed by the user. Is there any possibility to get a "ID" of the current google-playstore-account? So I could use this account to store in a postgresql-database, connected with the data, my game needs (for example user name, current ingame-achievements, ingame-ressourcen, ...)

Thanks for reading :-)

Re: recognizing the user in a android-game

Posted: Sat Sep 16, 2017 1:11 pm
by raidho36
The only way to do that is to connet to Google Play service and pull data from there.