recognizing the user in a android-game

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
Posts: 5
Joined: Wed Dec 17, 2014 7:40 am

recognizing the user in a android-game

Post by Dudenheit » Sat Sep 16, 2017 10:05 am


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 :-)

User avatar
Party member
Posts: 2063
Joined: Mon Jun 17, 2013 12:00 pm

Re: recognizing the user in a android-game

Post by raidho36 » Sat Sep 16, 2017 1:11 pm

The only way to do that is to connet to Google Play service and pull data from there.

Post Reply

Who is online

Users browsing this forum: CanYouReply and 21 guests