Firebase Database

Anyone have experience using Firebase Realtime Database?
So far I’m able to use their authentication and working fine.
I’m having trouble understanding how to use their database. They don’t have much information on it and I’m only used to ever working with SQL Db’s.

FirebaseApp.DefaultInstance.SetEditorDatabaseUrl("https://blackjack-multiplayer-online.firebaseio.com/");
        reference = FirebaseDatabase.DefaultInstance.RootReference;
User newuser = new User (name, email);
        string json = JsonUtility.ToJson (newuser);
        reference.Child ("users").Child (uid).SetRawJsonValueAsync (json);

This is how I implemented their example of how to add data but it doesn’t do anything. I know I’m doing something wrong like I don’t know how to set up a “users” child to write to. Any explanation on how the process works I would appreciate. Ty.

1 Like

Hi. Did you manage to solve this?
I’m having the same problem. Authentication works fine. Real time database does not seem to be updating.

Having the same problem, did anyone find a solution?