EddyVerbruggen / nativescript-plugin-firebase

:fire: NativeScript plugin for Firebase
https://firebase.google.com
MIT License
1.01k stars 446 forks source link

[Realtime database] Query() works not every time... (I just don't understand) #1620

Closed Kursorr closed 4 years ago

Kursorr commented 4 years ago

Hello everyone,

I have a big problem I don't understand... Let's explain :

I have test@gmail.com untill test10@gmail.com. I created test07 untill test10@gmail.com in last 2 hours when i'm using my getUserByEmail functionnality for one of these email, I got no error (it's not normal) but if i'm using my getUserByEmail functionnality for test06@gmail.com I get the error I want.

image

image

image

If I re-install the app, the new user I created is taken in account and I can login with test07@gmail.com...

How can I do that :

I'm creating a new user. I need to add it on the realtime database. I want to login, I use my getUserByEmail functionnality, I get the user. Then i'm using the connect() functionnality. without re-installing the app...

Someone can help please ? I'm desperate ....

Kursorr commented 4 years ago

It seems that looking for the email doesn't work at all I'm looking for equality with the password, the fullName, or the phone, and I get what I want But the email ... Nope. I.M.P.O.S.S.I.B.L.E