XvKnightvX
XvKnightvX

Reputation: 609

Firebase How to get value from reference

So what happens is my user creates an account a key/value was stored on the realtime database now then logs in i now need to retrieve that value but the value does not change after being created. Is there a direct way for me to get the value from key or is this not even possible?

Upvotes: 1

Views: 1099

Answers (1)

XvKnightvX
XvKnightvX

Reputation: 609

Found the answer i can achieve this if i use addListenerForSingleValueEvent on a reference to the key Hope this helps anyone asking the same question

Upvotes: 1

Related Questions