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
Dudenheit
Prole
Posts: 5
Joined: Wed Dec 17, 2014 7:40 am

recognizing the user in a android-game

Post 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 :-)
User avatar
raidho36
Party member
Posts: 2063
Joined: Mon Jun 17, 2013 12:00 pm

Re: recognizing the user in a android-game

Post by raidho36 »

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: Bing [Bot], Google [Bot] and 8 guests