(Android studio) How to get a user's id through his email in Realtime Database (Firebase)

0

I would like to know how I can get an id from my database in firebase via email.

For example I have email [email protected] and I would like to get his id just by email. Is it possible?

    
asked by anonymous 26.10.2018 / 08:26

1 answer

0

In this case Thiago, you can use firebase authentication with some platform like facebook and google so you do not need a password, or you can include the password key in your db.

In order for you to search your db, it must be ordered, the firebase already gives you all these implementations, both "search" and "order", on the firebase itself it gives you the necessary examples to resolve your issue, follow the link . I hope I have helped.

    
26.10.2018 / 15:01