Thank you, sir. I have spend 3 full days on trying to configure it, following outdated tutorials, getting errors after errors (with null safety), but your tutorial finally gave answers to all of them in a simple, understandable banner.
Great! I followed many tutorials but no one worked. At last I tried this tutorial and it worked! Here I learned how to fetch data from firestore perfectly. Thank you sir.
perfect tutorial, you've given all the basics and explained them well, I can use this as a base for interacting with firebase and then expanding on it. In comparison my uni assignment does a terrible job at explaining firebase and sqflite
Finally someone making it clear and easy to use the new Flutter Framework and all its updated dependencies! Thank you! Could you do more videos on how to use notifications, chat functionality, uploading images etc. with Firebase? Definitely something I would watch!
Thank you so much my man, I'll manage to do my homework thx to you. It's really hard for us inexperienced to figure stuff out only by documents and shit bro
Thanks God! Finally understand this topic. Currently, This is the Best, Clear, Most updated video on RU-vid on this topic.. You are also very honest. Thanks a lot, Liked and Subscribed. Very Calm and beautiful way of teaching and explaining.. Please upload more on Flutter
Thank you! I had someone else say the video is outdated, I know it's not compatible with M1 macs, I'm looking to see if anything else changed now. I'll get another video up asap if I find that to be the case!
@@LearnFlutterwithMe I think The Only error that comes is... that i put square brackets in front of ListView childrens plus .toList at the end, like.. ListView(children:[ docs.map( code.... ).toList ] ) So both square brackets and .toList at a time mean List in a List... which gives me error.. And that brackets comes by default when you type childrens... So then i compare it with your code and you did not put brackets... So this is our fault.. Then i know it from stackoverflow that Either we have to put .toList or brackets.. or separator three dots if using both brackets& .toList Someone also facing this error in comment section, So i think this was the only error for me on Windows PC.. Sorry for long comment and my weak English
Thank you. Really easy to follow and add firebase to my app. I had to go back to firebase console and do up my access rule to finally allow access as I've clicked production (instead of test) lol. Then everything worked just as advertised!
Were you able to figure out what was wrong? Without seeing the code it feels like maybe it's having a problem with the center being before the list, so you might try putting the center after the list. There should be a link to my full source in the description if you want to compare. Let me know how it goes!
Hi, this was a helpful video! As a suggestion, could you make a follow up to this video? You could build on this application by adding more features. Maybe some styling (to make the interface more fancy)
Bro how to add any image from my phone to firestore database and to display that particular image on tap of a save button at a different page plz make a video on that as I m stuck on this for 4-5 days... It will be helpful
Thank you sir for this infos. can you please make video on database modeling for firebase I want to build e-commerce app with firebase as backend but I don't know how to model data in nosql database . I hope u see my comment
Can you make a video of step by step showing how we can take media files from user input and store it in firebase as well as teaching how we can use firebase to implement the live feature for users.
I'm sorry it took me so long to respond to this. the ! is telling Flutter that you are guaranteeing it has data, and it doesn't have data. So I'm going to guess you're not getting the snapshot for some reason. I have the full source on my web site which is linked in the description if you want to review your code to mine, and there's also a link to resources if you need additional help. Let me know if you get it figured out!
I am getting the image from my phone and also uploading it to firestore database but when retrieving I got stuck as how to retreive that specific image at the same time I upload it to database plz help me sir....
I don't understand it can retrieve two data["title"]; and data["image"]; but it refuses to display the others I don't understand I need help here is how to display the error => ════════ Exception caught by widgets library ═══════════════════════════════════ The following StateError was thrown building StreamBuilder(dirty, state: _StreamBuilderBaseState#1d61a): Bad state: field does not exist within the DocumentSnapshotPlatform The relevant error-causing widget was StreamBuilder lib/…/infractions/contraventions_premium.dart:59
when im trying to insert the snapshot data to Listview children, it said The argument type 'List' can't be assigned to the parameter type 'List' even tho im sure i have the same code like you sir, is there any solution to this?
Hello! If I understand the part you're asking about, that's not an actual error, it's code that will throw a new GradleException if flutterRoot is null. If you are having an error, check out the resources link in the description, hopefully somethere there can help!
Thank you very much, i've been wondering if you mind making admin-client app, like the admin has access to the app for example adding some texts to it and the clients open the app and see the newest stuff in it....stuff like this, appreciate it.
Are you on a Mac? I believe reveal in finder is OS based so it should be available in all of your apps if so. If you're not on a Mac you won't be able to do the iOS setup anyway because it requires XCode which is not available in other Operating Systems. Hope that helps!
I can't thank you enough good sir! Most (if not all) videos about Flutter Firebase Tutorials are either old or has missing configuration, but THIS WORKED AS CHARM ❤ Question please: How do you remove the error in app\build.gradle?
I'm so glad! Yes I wished there was a way that you could update videos easily, or maybe a better way to search when you need something. Experiencing that pain myself is part of why I created this channel. I'm going to try to keep the videos updated if I can!
AsyncSnapshot(ConnectionState.waiting, null, null) My snapshot always gives back a null response even though I can write values from the app and it shows on the database
Sounds like you're connected successfully if you can write, which is (in my opinion at least) the most concerning. I would just verify you have everything written correctly (sometimes I'll even back up the whole section and rewrite it from scratch if I can't find the bug), make sure you're using correct table names and such. Hope you're able to find it!
haha! I mean - yes, there is, depending on your application. But I would say firebase is primarily for larger amounts of data. You would only want to store small amounts of data that won't need to dynamically change in code. If the data doesn't have to be available remotely for any reason you could also use sqlite or a similar local database. My advice is to make sure your data structure is as simple and easy to understand as you can make it. You COULD also write to say, a json file, there's more information on that here: flutter.dev/docs/cookbook/persistence/reading-writing-files but I would also say only do that if it's not going to be a lot of data that changes often. Good luck, hope you figure it out!
Sorry I took so long to respond; the scaffold also supports a "body" property. So under the appbar do something like body: TextField(). Then of course add anything around it you'd like. Hope that helps if you haven't already figured it out!
Hello from germany and thank you for your tutorial! For some reason iam not able to delete a document using its id from Firebase. My collection structure is the following: chats -> currentUserId -> chatList -> selectedUserId -> chats-> time -> message, and i wanna delete the selectedUserId from the chatList. The following code doesnt show any effect: 1. await _chatRef.doc(currentUserId).collection('chatList').doc(selectedUserId).delete() 2. final deleteChat = FirebaseFirestore.instance.collection('chats').doc(currentUserId).collection('chatList').doc(selectedUserId); await deleteChat.delete() 3. await FirebaseFirestore.instance .runTransaction((Transaction myTransaction) async { myTransaction.delete(_chatRef.doc(currentUserId).collection('chatList').doc(selectedUserId)); }) ; I also set the firebase rules to allow read, write,delete; and using the latest package version. Do you have any idea? Thank you