+ 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.
4 Antworten
+ 4
//Structure may look like
if(loged.user == data.users) {
console.log(loged.userImg)
console.log(loged.userName)
console.log(loged.Address)
}
+ 1
//here is official doc
https://firebase.google.com/docs/auth/android/google-signin
+ 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).
0
Shudarshan Rai 👑 can you explain more.