Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I save data of a user logged in with firebase auth play games in google firebase database? #458

Closed
Jhan321 opened this issue Sep 4, 2019 · 1 comment

Comments

@Jhan321
Copy link

Jhan321 commented Sep 4, 2019

Please fill in the following fields:

Unity editor version: 2017.3.1f1
Firebase Unity SDK version: 5.4.0
Firebase plugins in use (Auth, Database, etc.): Auth, database
Additional SDKs you are using (Facebook, AdMob, etc.): GoogleMobileAds, GooglePlayGames, Firebase
Platform you are using the Unity editor on (Mac, Windows, or Linux): Windows
Platform you are targeting (iOS, Android, and/or desktop): Android

So I am developing a game in unity3d similar to those asked, I use firebase to save all the data of the users that register with email and password, everything is going well, but I want new users to register and log in with play games or google, the question is: how can I save the tados of users logged in with google play games in firebase database, so where I understand firebase play games only works for a login,

In my current project I have a function of beginning of section and another of registration, the application only saves data in google firebase when it is registered, what happens in the case of google play games?

@Jhan321 Jhan321 added the new New issue. label Sep 4, 2019
@stewartmiles stewartmiles added type: question and removed new New issue. labels Sep 7, 2019
@stewartmiles
Copy link
Contributor

stewartmiles commented Sep 7, 2019

@patm1987 FYI

You can refer to this document which describes how to associate a FirebaseUser with Play Games. Once the account is associated with the FirebaseUser you can use the Firebase user ID to save user specific data.

@firebase firebase locked and limited conversation to collaborators Oct 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants