Life-changing tutorial. The presentation is clear and simple. I like that it’s only one hour-perfect amount of time to explain this type of topic.
@Firebase3 жыл бұрын
Glad you enjoyed it!
@DarkChasmGamers3 жыл бұрын
TODD I'VE MISSED YOU😭😭😭
@UsamaKarim3 жыл бұрын
Yes, Please! Keep it lengthy & comprehensive. We want to get all the knowledge in one place.
@pinkasey3 жыл бұрын
You make great videos. They are really fun to watch, while being very educational. The problem I have with Firestore is the limited querying capabilities. Compared to SQL - it's like a toy, not suitable for "real application". Some examples: 1. No way to count records, without fetching them 2. Cant query by comparing two fields of the same doc 3. Cant query for doc which lack a field (which would be useful for maintaining a denormalized data-model) 4. No uniq costraints And so on
@HammadKhanYT2 жыл бұрын
Is firebase database suitable for searching data and presenting that to users? I want to store my customer data in it.
@Zizo1st2 жыл бұрын
Perfect tutorial! That's really a very informative one, I thought I am good with RTDB, but after watching this, I've realized that I've missed lots of good stuff! Thanks Todd
@Firebase2 жыл бұрын
Great to hear!
@anastariq357 Жыл бұрын
Great work ! I rarely enjoy watching tutorial videos, but this one was 100% enjoyable.Especially the sound when you change screens :D .
@viacheslavromanov30983 жыл бұрын
Awesome and comprehensive explanation with the nice examples!💪🏻That's what we developers really love ❤️Appreciate the effort, Todd 🙏🏻
@Firebase3 жыл бұрын
Glad you enjoyed it!
@tjakemelvin2 жыл бұрын
In 26:13 I have an error when typing "final data = new Map.from(event.snapshot.value);" saying that The argument type 'Object?' can't be assigned to the parameter type 'Map How can I solve it please?
@JoJo-yu7hh2 жыл бұрын
Me the same, do you already have a solution?
@utkusarican55202 жыл бұрын
8:28 When you back these version, you can use it. I was using last version and get same error. I couldn't fix it so I change the version of firebase_core and firebase_database
@tanikagulati3072 жыл бұрын
Just use this final data = Map.from(event.snapshot.value as Map);
@BeatFreakDJs2 жыл бұрын
Thank you, Tanika..you saved me a lot of time!
@chadlyalan2 жыл бұрын
@@tanikagulati307 When I try to access data like shown above I get this error: Expected a value of type 'String', but got one of type 'Null' I can print data and I see the giant JSON object that I'm querying but I can't access any fields from my json object..
@ame5r3 жыл бұрын
make it longer, and cover more stuff. please!
@prelude01333 жыл бұрын
I like this new presentation format and nicely explained. Thank you.
@Firebase3 жыл бұрын
Glad you liked it!
@1daneet2 жыл бұрын
Had issues using Firebase Realtime Database until this video. I enjoyed watching it and have been able to get proper understanding of its usage which I'll proceed further by reading the documentation. I also think making a longer in depth video like this one is much better than shorter videos.
@lasaint5893 жыл бұрын
Finished the video woooo. It's 2328hrs on a school night ,but well worth it; the video answered a tonne of questions.
@mohammadnazari5180 Жыл бұрын
This tutorial below my mind! Awesome work, Todd!!
@maxmaeffert202 жыл бұрын
this might be the best guide I've ever seen
@darokadx3 жыл бұрын
Very good video, it even answers one of my question on StackOverFlow about how to convert DataSnapshot to a Data model object ! Format is really nice, and explanations really clear, i was simply hoping you would cover the RTDB scaling / Sharding data but i guess this will be for another video 👌🏻
@RogiervanApeldoorn2 жыл бұрын
I really like this kind of videos. Very good explanation! Keep up the good work!
@vaughnnarvacan33382 жыл бұрын
The getter 'snapshot' isn't defined for the type 'Event'. I keep getting this error with StreamBuilder
@ahmadammar88662 жыл бұрын
have you solve it?
@sandwichtube2 жыл бұрын
Thanks for taking the time to make this video.
@Firebase2 жыл бұрын
Glad it was helpful!
@BrianTX5412 жыл бұрын
Great video. I love how you include relevant use cases for your examples.
@jmathew20113 жыл бұрын
Ok now this video but for Firestore please! Adding a section for best practices, really complex queries, best practices for common data structures (user-profiles, chats, foreign-key referencing, mapping/location, JSON maptype, timestamps, etc, etc)
@estranhokonsta3 жыл бұрын
Nice. Many basic but certainly good things in this video. The addition of the optional pattern designs was cool too. One problem of this longer videos is that there is a greater probability of them being too (dated) specific to the software versions used in it, but i still think that it brings great value to the channel. Why worry for something that hasn't come yet? Nobody would do anything that way. The ideal would be to keep the two formats (short and long videos). And use them according to the occasion.
@komellar973 жыл бұрын
Finally some good realtime database tutorial ✊
@nat101yt3 жыл бұрын
To me one-hour is the sweet spot.
@Chop5chop2 жыл бұрын
This is great, love the long format
@justvikas2 жыл бұрын
I really like this, basic but covered many important things.
@maxeem35963 жыл бұрын
Thank you, Todd! Great tutorial! Great job!
@Firebase3 жыл бұрын
Glad it was helpful!
@yiisuseusse2 жыл бұрын
Min 25:50 I can't do that... it still gives me an error The argument type 'Object?' can't be assigned to the parameter type 'Map'.
@TheAhmed7102 жыл бұрын
Instead of: Map.from(snapshot.value); Use this: Map.from(snapshot.value as Map); This will cast the Object into a Map
@diptanshumahishcovers90962 жыл бұрын
@@TheAhmed710 dayyyumn ,life saving!!!!
@oneplusgeek7510 Жыл бұрын
@@TheAhmed710 thanks! but when real time db is empty i got an error : type 'Null' is not a subtype of type 'Map' in type cast.
@adityavns13 жыл бұрын
When is flutter web support coming for real-time database?
@lkeysoft3 жыл бұрын
Much needed!!
@maxmaeffert202 жыл бұрын
Isn't it by now?
@tezelyusuf2 жыл бұрын
Exception is thrown anyway -> The argument type 'Object?' can't be assigned to the parameter type 'Map at line 25
@adelnehikhare40712 жыл бұрын
Same problem I'm having
@mobiledev52952 жыл бұрын
@@adelnehikhare4071 its outdate... flutter 2.5 came in spt
@yulianislamprayoga Жыл бұрын
Thank you for the explanation sir
@-_AK_- Жыл бұрын
Your Video is very helpful and very easy to understand thank you so much for this great video and explanation ❤❤
@trainofthought57333 жыл бұрын
YEP make LONGER btw love your explanations ❤❤❤❤❤❤
@CodeNight-dm2hv3 жыл бұрын
I learned so much here. Thank you
@Firebase3 жыл бұрын
Glad it was helpful!
@vijaykumar-wq9pg Жыл бұрын
I am struggling to retrieve the data from FB realtime database, always stuckup at Unhandled Exception: type 'List' is not a subtype of type 'Map'...kindly help
@uditmishra55832 жыл бұрын
Best explanation on the Internet!!!
@jimcomccabe32 жыл бұрын
23:00 . it does not happen immediately. it takes 1 sec to replace the original text" results go here" with the downloaded string from realtime database. is there a way to show directly the downloaded string?
@UsmanTahir63 жыл бұрын
Excellent Tutorial!
@Firebase3 жыл бұрын
Glad you liked it!
@KImtOs3 жыл бұрын
what about how to integrate App check with flutter ?
@raziel6193 Жыл бұрын
This videa is amazing. Thank you
@ainaraziq35992 жыл бұрын
type 'Null' is not a subtype of type 'String' The relevant error-causing widget was StreamBuilder I get this error in stream buidler
@engbesher7479 Жыл бұрын
amazing tutorial
@Studi0usKidd03 жыл бұрын
This was a fantastic video!
@Firebase3 жыл бұрын
Thank you!
@Tyrowo Жыл бұрын
love this video thank you
@Topbrains3 жыл бұрын
Is there a way to get a copy of the code?
@PedroFonseca52 жыл бұрын
Is it just me that gets a lot of errors when trying to implement the exact same code in my apps ... ? The videos are great, no doubt, but sometimes it just doesn't let me compile
@CurryMan123452 жыл бұрын
What is the VSCode theme you are using?
@zanovis Жыл бұрын
Amazing overview. Maybe give a warning about set() since it can wipe your entire DB if you don't know the difference between set() and update() yet :P
@learningwithafen13462 жыл бұрын
Very nice. Thank you :)
@Firebase2 жыл бұрын
Welcome!
@adttwo2 жыл бұрын
Great video, but I think there should be a link in the comments to the completed code project. Having to pause the video every few seconds to compare my code to yours is frustrating and frequently leads to long trips down the rabbit hole while I try to figure out what you've done that's just off the top or bottom of the video screen.
@mohammadkashif54412 жыл бұрын
very helpful video ❤
@Firebase2 жыл бұрын
Glad you think so!
@zoozolplexOne2 жыл бұрын
cool !!!
@2009worstyearever3 жыл бұрын
yes, make them longer and cover more stuff. with respect to your docs, this just seems better
@adammurday17 Жыл бұрын
At 8 minutes in you reference another video "go watch that video now", but its not clear what video is being referenced?
@mhwadah4 ай бұрын
Can I use flutter with firebase sql instead of firebase NoSQL?
@congtoannguyen19403 жыл бұрын
So which kind of way should I use to read the real time database, the Stream builder or the Provider way
@turtle-rabbitpark87152 жыл бұрын
This is awesome!!!!!
@agilmmmdov51102 жыл бұрын
Hi I need help . When I wrote one sentence for example name 1. Value ." I like football" I can see only one word "I" in my application how can I fix please
@maxzaki56212 жыл бұрын
Thank u. I have one Question. When using push().set(), if I want to get added document key, what should I do?
@xmanreturn3 жыл бұрын
longer videos are needed!
@lasaint5893 жыл бұрын
Flutter is only at its dawn imagine it in 3 years. Program a Space Rover
@jiratpattaragultawee65602 жыл бұрын
final data = new Map.from(event.snapshot.value); return error The argument type 'Object?' can't be assigned to the parameter type 'Map, anyone know why?
@ingeniorGames2 жыл бұрын
I get the same error
@ingeniorGames2 жыл бұрын
[UPDATE] I fixed the problem in this way: (event.snapshot.value) as Map
@rvb65163 жыл бұрын
Love it ✨👍
@Firebase3 жыл бұрын
Thank you! 😊
@carlevans603 жыл бұрын
Longer, more in depth videos!
@fishheadbreakroom3 жыл бұрын
Great video
@marlhex62803 жыл бұрын
Short and to the point thanks. 1 to 3 min max.
@isiakamfugale36212 жыл бұрын
Sir u told us one option of using futureBuilder. Does it allow realte update on ui??
@ingamgavu70253 жыл бұрын
Unhandled Exception: missingPluginException error on firebase_database please need help its been a week having this problem
@JeffreyLiu83 жыл бұрын
Good job!
@Liosnaprod2 жыл бұрын
thank you !
@indulgewithal75262 жыл бұрын
I have built a few streambuilders using this tutorial for guidance, but when the user hasn't yet entered the data that the stream takes, it returns the error type 'Null' is not a subtype of type 'Map', how to I get around this? All methods I have tried fail to stop this error.
@indulgewithal75262 жыл бұрын
@@chicagoworkscom I ended up using shared preferences to store a local int that tracked how many times data was stored (or removed) by the user, anything above zero and it would run the stream builder, other wise a placeholder image. The problem with your solutions is it comes back with a snapshot with some data, somehow. I would of imagined they would have a better solution to this and documentation to go with it. Was also frustrating how his example should of shown this problem when the database doesn't yet have data. Appreciate you looking into it! I have had so many issues with real time data base and how it works. getting there tho!
@jimmyicoffee3 жыл бұрын
Why can't I choose another region for realtime db? region Australia is needed!
@ajinkyakhobragade85572 жыл бұрын
Is there a git repository for the project?
@Eslam-Sameh2 жыл бұрын
When will be the flutter windows and linux support?
@sultanabbas94112 жыл бұрын
when I access orders/abc/price , does it load the other children of "abc" as well? or only orders the "price" child of "abc" ?
@Frank_van_Puffelen2 жыл бұрын
The Realtime Database loads the path you read from and the data under it, but not the data above it. So in your scenario it'll only load the price and not any other properties of `abc`.
@CodeNight-dm2hv3 жыл бұрын
In the stream publisher don't forget to create an empty list and check is the snapshot exists so it will not crash when there's no items in the database. Example: Map ordersMap = {}; if (event.snapshot.exists){ ordersMap = Map.from(event.snapshot.value); }
@ThePoignancy3 жыл бұрын
the DataSnapshot object is severely underspecced, missing many methods in the official SDK like child(), hasChildren(), forEach()
@blessingmguni67052 жыл бұрын
code for main dart is not clear
@drantunes3 жыл бұрын
Is any solution for write limit per second on Firestore (use Pub/Sub?)...The transaction 'batch' count 1 write on commit or N writes if the transaction contain N write operations? Thanks for the video!!
@anggoran73982 жыл бұрын
thanks a lott!!
@codebuddies92382 жыл бұрын
Love it
@kingstation59923 жыл бұрын
make it longer. please!
@MacMaurof62 жыл бұрын
outdated
@mars31423 жыл бұрын
I would like more in-depth videos, but it should be a series of videos. I don‘t like to open one video to see within the description the covered topics/areas. The video title should show the topics.
@tintin5373 жыл бұрын
Make it longer and cover more, the more the merrier
@zeldax59612 жыл бұрын
Hey! How to get the auto generated Unique-ID?
@Firebase2 жыл бұрын
Hi! You can find information about how unique identifiers work through our Firebase blog here: firebase.blog/posts/2015/02/the-2120-ways-to-ensure-unique_68
@jimcomccabe311 ай бұрын
get for ios returns all nodes , not the one that you are interested in. this is a bug .
@mohammadshamimhossain5383 жыл бұрын
Good to see this lesson
@Firebase3 жыл бұрын
Thanks for watching
@RaadYacu3 жыл бұрын
more the better
@maronilabuni59352 жыл бұрын
how to get the source code
@volkankarakus80132 жыл бұрын
why cant we use reference() now??
@samorket80912 жыл бұрын
use .ref()
@volkankarakus80132 жыл бұрын
@@samorket8091 thx :)
@lovefrommemee57103 жыл бұрын
Finally...
@lkeysoft3 жыл бұрын
I thought Realtime was about to be discontinued in favor of Firestore?
@jimcomccabe32 жыл бұрын
40:00
@thomasmabika72913 жыл бұрын
3 hours should be the standard video duration.
@fluttec3 жыл бұрын
Longer, more in depth videos
@ezenaguemmanuel31632 жыл бұрын
Please make the videos short
@olamilekanadeleke68063 жыл бұрын
// make long and detailed Videos If(Video.long){ Video.better(); Video.wellDetailed(); }
@TalYaron3 жыл бұрын
TMI - I just needed to learn how to use firebase and flutter. Being experienced in firebase, I wasn't needing the intro.
@peterbparker69682 жыл бұрын
final data=Map.from(event.snapshot.value); doesn’t work for me . It shows error: The argument type Object? can’t be assigned to the parameter type Map…. Any solutions?
@chuckh98572 жыл бұрын
Me too.
@chuckh98572 жыл бұрын
I tried this: final data = event.snapshot.value as Map; The compile error went away but it cashed with this: Unhandled Exception: type '_InternalLinkedHashMap' is not a subtype of type 'Map' in type cast.
@chuckh98572 жыл бұрын
Here you go. Change the firebase_database dependency from #^9.0.2 to 7.0.0.
@chuckh98572 жыл бұрын
firebase_database 8.2.0 works (released 8 days ago) 9.0.0 and higher does not (released 2 days ago, and 17 hours ago)
@peterbparker69682 жыл бұрын
@@chuckh9857 i tried making it 7.0.0 and it ended up giving me errors ill try this thanks alot friend
Жыл бұрын
Something has changed. If help to anyone will leave it here. final data = event.snapshot.value as LinkedHashMap;
@lukasvonniederhausern6153 Жыл бұрын
I get: Undefined name 'event', Try correcting the ... Why event? Where is this come from?
@lukasvonniederhausern6153 Жыл бұрын
Ok, i solved it like this: final data = Map.from((snapshot.data! as DatabaseEvent).snapshot.value as Map);
@_DiftaFitrahulQihaj Жыл бұрын
@@lukasvonniederhausern6153 thanks sir, thats very helpful