Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

How I can get the player email or unique ID when login in Google Play Services?


I'm creating a game and I'm using UE 4.20. First I want to make the game for Android, my game is based on blueprints, login with google play works fine. But I need to get the Google Play email or something to identify the user because I want to use VaRest plugin to auto-register them in my own server using PHP/MySQL to read/write.

For example, when I login in google play with my email, then in my level bp I want to know what email (or unique id, I don't know if there's something to identify unique users) is using, so I can check in the DB if the player is new or not, If it's new I add him to DB and I'll show him the "Register" HUD, but If he has an account in my web server, I'll show him his player's profile retrieving data from PHP. I only want to know how I can idenity the user, using a fixed id or email or something to retrieve the data from my mysql server.


Product Version: UE 4.20
more ▼

asked Nov 16 '18 at 12:22 AM in Blueprint Scripting

avatar image

6 2

avatar image Aleksandro Nov 26 '18 at 06:47 AM

Good morning. One thing that mightttt help you is to use the blueprint node Get unique device id. As it says this id is device specific, so logging in with another device as the same user might make problems. Have you implemented google play? Sorry for asking but I‘m stuck withi it and need to release my game. If you have time look up into my questions on my profile page. Good luck

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question