There are tons of tutorials available for stream builders, stream providers, and what not... but the basic printing of data from Firestore is shown nowhere. Thanks to you. At this moment, you're possibly my favorite person! Appreciate your work!
Thank you for presenting this content. I have wanted to know how to retrieve a single field from Firestore. You have shown that it is possible here. What I need to do now is discover the current method calls because Flutter has changed since the time of your recording. Many thanks 😊
Thanks , But it seems that u are not using the latest Flutter Fire , Please Upgrade! Great ✌️✌️👍👍 I am your big fan and always thankful to you keep doing this hard work
can u tell me why it displays me only part with "Email : " and users email is not showing here - like its blank ? i signed it in auth and it is in database?
Have you added any field for storing the 'displayName' that you want to fetch? Cause you have to provide the field name for fetching that data. Like I have only two fields for every user as you can see, one is 'email' & another is 'uid'.
Wow didn't know i would find something that makes more sense to me like this. By the way does the user details also show on the Authentication Dashboard in Firebase? or it only goes to Cloud Firestore? nice content anyway.
Say you have two more fields named- 'name' and 'age' of type string and integer respectively like I have 'email' and 'uid' fields of string type. Then you need to take two more variables as the field type to store the values you will fetch from these two fields like I have only taken myEmail to store the value of field 'email'.
@@morshedajeba69 i did the same i have to store name and number so i took both string and declare it above like this //Declaration String myName; String myNumber; //in Fetch data code myName = ds.data['name']; myNumber = ds.data['number']; //services code (which i changed) (added this part) .setData({'email': user.email, 'uid': user.uid, 'name': user.name, 'number': user.number}) //debugging the app i am getting this error! NoSuchMethodError (NoSuchMethodError: Class 'FirebaseUser' has no instance getter 'name'. Receiver: Instance of 'FirebaseUser' Tried calling: name)
@Pranshul Agrawal I have updated the description. Since I made this video a long ago, versions of the used packages like- firebase_auth and cloud_firestore might be old. Just learn the concept and use the updated versions of the packages.
NoSuchMethodError (NoSuchMethodError: Class 'FirebaseUser' has no instance getter 'name'. Receiver: Instance of 'FirebaseUser' Tried calling: name) getting this error please help me solve this also is there any way to contact you as i am trying to make a project that has marks within 10 days i have to submit the project! so with your help i will not be stuck anywhere!
There are tons of tutorials available for stream builders, stream providers, and what not... but the basic printing of data from Firestore is shown nowhere. Thanks to you. At this moment, you're possibly my favorite person! Appreciate your work!
Thanks a lot for your appreciation ❤. It means so much to me.
I have watched a lot of tutorial on this topic and guess what! After 2days of searching, i found the best one!!! Thanks ❤❤
Thank you for presenting this content. I have wanted to know how to retrieve a single field from Firestore. You have shown that it is possible here. What I need to do now is discover the current method calls because Flutter has changed since the time of your recording. Many thanks 😊
Satisfied after this video already saw many of in yt and web but this help muchhhhhh more ❤❤ Thank you creator 💫💫
Thank you soo much ma'am
this is what i needed
Thank you sister 🙏🏻❤
i was looking for this for so long! thank you so much
Great, i've been looking for this for hours, thanks brooo. :)
My pleasure ❤️
Thank you very much, This has helped me alot
You made my day! Great work
Thanks , But it seems that u are not using the latest Flutter Fire , Please Upgrade!
Great ✌️✌️👍👍 I am your big fan and always thankful to you keep doing this hard work
Thank you so much for your concern & also glad to hear that ❤
wow i was looking this for a month great to i got thanks
Great , Thanks For This🙏🙏
My pleasure ❤
can u tell me why it displays me only part with "Email : " and users email is not showing here - like its blank ? i signed it in auth and it is in database?
you save my day thanks a lot ! 🤩
thank you so much, you saved me
It's my pleasure
can you make a tutorial video to read a list of data from firestore with an ontap to the detail page?
Can you do the same work using Firebase realtime database........
Why i am getting null value? Knowing that i tried to print uid and it works but the email returned is null
Probably because you have no email
Thank uuu sooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo muchhhhhhhhhhhhhhhhhhhhhhhhh
For example you have user1, user2, user3, user4, user5 and you have to get only user2, user3, user4 data or user1, user2 data how can you do that.
the currentUser data is accessed with passing USER-ID, rest you can fetch whole collection like any other collection.
not able to use ds.data['email'];
plz help
Check if the field name in that document is also 'email'(without quotation) or not.
data( )["email"] use this
data( )["email"] use this
@@ashwinr475 you are a llife saver
displayName not working, how to retrieve the name of the profile from 'users' uid & email are working but not displayName, can you please help?
Have you added any field for storing the 'displayName' that you want to fetch? Cause you have to provide the field name for fetching that data. Like I have only two fields for every user as you can see, one is 'email' & another is 'uid'.
Wow didn't know i would find something that makes more sense to me like this. By the way does the user details also show on the Authentication Dashboard in Firebase? or it only goes to Cloud Firestore? nice content anyway.
If we want to retrieve multiple data then how can we do so??
Please reply..
Say you have two more fields named- 'name' and 'age' of type string and integer respectively like I have 'email' and 'uid' fields of string type. Then you need to take two more variables as the field type to store the values you will fetch from these two fields like I have only taken myEmail to store the value of field 'email'.
@@morshedajeba69 i did the same i have to store name and number so i took both string and declare it above like this
//Declaration
String myName;
String myNumber;
//in Fetch data code
myName = ds.data['name'];
myNumber = ds.data['number'];
//services code (which i changed) (added this part)
.setData({'email': user.email, 'uid': user.uid, 'name': user.name, 'number': user.number})
//debugging the app i am getting this error!
NoSuchMethodError (NoSuchMethodError: Class 'FirebaseUser' has no instance getter 'name'.
Receiver: Instance of 'FirebaseUser'
Tried calling: name)
It's still not working for me...
Thanks a lot
Thanks
just listing cute voice,
Please share the source code
@Pranshul Agrawal I have updated the description. Since I made this video a long ago, versions of the used packages like- firebase_auth and cloud_firestore might be old. Just learn the concept and use the updated versions of the packages.
@@morshedajeba69 okay
NoSuchMethodError (NoSuchMethodError: Class 'FirebaseUser' has no instance getter 'name'.
Receiver: Instance of 'FirebaseUser'
Tried calling: name)
getting this error please help me solve this
also is there any way to contact you as i am trying to make a project that has marks within 10 days i have to submit the project!
so with your help i will not be stuck anywhere!