Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
How I did:
var UsersRef = firebase.database().ref("Users/");
varusers;
UsersRef.on("value",function(n){
users = n.val();
})
And after that, the users variable worked as with a normal object, though it takes some time to connect. Therefore, you can’t do anything with users right away. But in any case, I think that my method will push you at least something.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question