+ 2

Firebase firestore in android studio

I have created two different user login using firebase and have set a firestore database. I want to know how can I link eqch user to it's appropriate data only.

21st Feb 2019, 8:59 PM
harshit
harshit - avatar
4 Respostas
+ 4
//Structure may look like if(loged.user == data.users) { console.log(loged.userImg) console.log(loged.userName) console.log(loged.Address) }
21st Feb 2019, 9:30 PM
Sudarshan Rai
Sudarshan Rai - avatar
21st Feb 2019, 10:34 PM
Sudarshan Rai
Sudarshan Rai - avatar
+ 1
Shudarshan Rai 👑 We specify collections and documents in firestore cloud. Is there any way to specify there itself to identify each document for particular user id(email).
22nd Feb 2019, 9:45 AM
harshit
harshit - avatar
0
Shudarshan Rai 👑 can you explain more.
21st Feb 2019, 10:32 PM
harshit
harshit - avatar