Flutter: Firebase CRUD Using Cloud Firestore

  Рет қаралды 34,546

Robert Brunhage

Robert Brunhage

Күн бұрын

Пікірлер: 83
@RobertBrunhage
@RobertBrunhage 5 жыл бұрын
If anyone is having problems with AndroidX capabilities check out: flutter.io/docs/development/packages-and-plugins/androidx-compatibility
@mohamedzaramdini3197
@mohamedzaramdini3197 5 жыл бұрын
i'm sorry , but i couldn't understand AndroidX compabilities for flutter but i'm having problem debugging , could you make a tutorial about it ?
@hassamulhaq7845
@hassamulhaq7845 3 жыл бұрын
Updated video please
@fatihtutar7583
@fatihtutar7583 4 жыл бұрын
thanks to you i learned crud operations
@irhas6555
@irhas6555 4 жыл бұрын
thank you for save my life robert
@RobertBrunhage
@RobertBrunhage 4 жыл бұрын
Haha awesome, glad I could help!
@irhas6555
@irhas6555 4 жыл бұрын
@@RobertBrunhage I hope you can share the effective way of being flutter pro
@RobertBrunhage
@RobertBrunhage 5 жыл бұрын
Finally back from being sick. Could put some more time to get better on editing so let me know what you think! Also noticed tvat I didn't write my patreon ampersanda down so did it again in the comments!
@benjaminashie8209
@benjaminashie8209 5 жыл бұрын
Thank God your feeling better. Stay blessed
@RobertBrunhage
@RobertBrunhage 5 жыл бұрын
@@benjaminashie8209 Thanks for the support!
@kotivideos7140
@kotivideos7140 5 жыл бұрын
nice, pls do same for firebase crashlytics and firebase notification simple and easy like the video.
@sonalsk
@sonalsk 4 жыл бұрын
Absolutely amazing video!
@RobertBrunhage
@RobertBrunhage 4 жыл бұрын
Thanks! Glad you liked it 🔥
@Davti555
@Davti555 5 жыл бұрын
I was just searching for a tutorial how to use CRUD functions, then i saw in my notifications that u have just uploaded a video explaining exactly this what I need... awesome haha, thanks
@RobertBrunhage
@RobertBrunhage 5 жыл бұрын
Haha, awesome timing! Happy I could help :)
@Davti555
@Davti555 5 жыл бұрын
​@@RobertBrunhageI actually do have a question... With firebase_auth and cloud_firestore i have more than 64k methods and i think this is quite big. Therefore i have to enebale multidex. Is this bad for some issues around the app? If yes can i make a good login only with firestore? What would you suggest?
@RobertBrunhage
@RobertBrunhage 5 жыл бұрын
@@Davti555 Yes that is a known issue and can read more about it here: github.com/flutter/flutter/issues/21009. I would just enable multidex but if anyone has more knowledge on this, feel free to correct me with a better solution! :)
@amankaushik5833
@amankaushik5833 4 жыл бұрын
Just wanted to Thank you for putting in efforts to make this amazing video 👏
@RobertBrunhage
@RobertBrunhage 4 жыл бұрын
Thanks Aman!
@danispreldzic8485
@danispreldzic8485 5 жыл бұрын
Very cool , basic CRUD just what I needed. Cheers mate
@abhilasht6471
@abhilasht6471 4 жыл бұрын
Thank you soo much this was a life savior.
@edwardgomez5992
@edwardgomez5992 5 жыл бұрын
Excelente aporte, muchas por compartir saludos desde Colombia 🇨🇴
@LilyEvans1996
@LilyEvans1996 5 жыл бұрын
Thank you for making this video. I have been trying to find how to do CRUD operations with Flutter and Firebase and for some reason, aside from this video, I was not able to.
@RobertBrunhage
@RobertBrunhage 5 жыл бұрын
Awesome, glad it helped!
@mohamedyahya222
@mohamedyahya222 5 жыл бұрын
Me also same problem Thanks a lot
@sagarshende309
@sagarshende309 5 жыл бұрын
Great Video Buddy
@RobertBrunhage
@RobertBrunhage 5 жыл бұрын
Thanks for the feedback and positivity :)
@muratbayraktar1903
@muratbayraktar1903 4 жыл бұрын
so much helpful dude! keep it up :)
@mrpakravian
@mrpakravian 5 жыл бұрын
we missed you
@RobertBrunhage
@RobertBrunhage 5 жыл бұрын
Happy to be back!
@TheTmntmike
@TheTmntmike 5 жыл бұрын
Thank you for your work. It would be nice if you make a video about the rules in the Firebase . (Sorry for my English)
@RobertBrunhage
@RobertBrunhage 5 жыл бұрын
Yeah, that took a while to understand for me. For sure I will make a tutorial on that!
@leonardoventocilla3275
@leonardoventocilla3275 5 жыл бұрын
@@RobertBrunhage Yeah. Cant wait for that !! For example, a project app that has a the following rules (Lider / Manager / Senior Manager) with Firebase/Firesotore: - Project líder that can make CRUD (ONLY) of his projects. He can see the project of the other project liders. There will be 30 project liders. These project liders are grouped with 3 Project Managers, some 1 (one) project - -- Manager has a team of 10 (ten) project liders. Each Project Manager will be able to CRUD (especially, ‘Read’ the projects ONLY of the project liders of his team). On the top, there is a Senior Project Manager that is the boss of the 3 (three). - Project Managers. The Senior Project Manager can CRUD all the projects of all teams. Afther all, he’s the boss !! Having in mind Firestore "Rules" how can this be done ? Thanks for the help. Can you make a tutorial with this kind of scenario ? Thanks for the help …
@nostdoro
@nostdoro 4 жыл бұрын
What is the difference between DocumentSnapshot and DocumentReference?
@Alejandro-gg7oz
@Alejandro-gg7oz 5 жыл бұрын
how many hours do you practice flutter? you made it look easy but is pretty complicated I'm trying adding provider but I'm so stuck 😄
@gilmcglory3748
@gilmcglory3748 5 жыл бұрын
Very interesting and helpful. Thanks again for another great tutorial. On another note, I'm not seeing many tutorials from Flutter developers/instructors on how to create complete apps for business applications - a lot of snippets and components, but not much like using Flutter with WordPress & WooCommerce, etc. Do you know why?
@RobertBrunhage
@RobertBrunhage 5 жыл бұрын
Glad it helped! The reason I don't do much of whole applications is because... that often leads people to not "think". Many times we want to follow tutorials and want the tutorials to cover those those kind of apps that we want to make. This often leads to long tutorials and in the end, we don't learn as much. Making apps is like many other things and the best way is to learn by doing. I see my tutorials as a way to aid development not make it :) Hope this makes sense!
@jhonshephard921
@jhonshephard921 5 жыл бұрын
@@RobertBrunhage I think you misunderstood the question. I think is about why there aren't as many resources for Flutter as other tools. I think the answer is WordPress is EXTREMELY common and very old while Flutter is relatively new. Additionally, beginning it(something I am doing now) is more complex than stuff like Django, Wordpress, or Dot Net MVC. All those have controller and view very separate while Flutter combines them.
@storylineteam
@storylineteam 4 жыл бұрын
Anther great tutorial! Please consider making a tutorial on End 2 end encryption of firetore data. It is very important for us in Europe to encrypt the collected data based on the EU law. Also for small small companies like us, using expensive apis lie Virgil is a not affordable approach. All the best from greece
@vaniceleung8880
@vaniceleung8880 4 жыл бұрын
I have some problems when I am trying to build the app. "Installing BoringSSL-GRPC (0.0.3) " stuck. It takes forever. Do you know how to solve it?
@mayaparamita2254
@mayaparamita2254 4 жыл бұрын
Thanks a lot :^^
@RobertBrunhage
@RobertBrunhage 4 жыл бұрын
Happy to help!
@sethxtekken
@sethxtekken 5 жыл бұрын
Thank you sister Robert for doing these tutorials , may i ask why you changed intellj and went to visual studio ?
@MsSplashIt
@MsSplashIt 5 жыл бұрын
Pls do one with cloud functions. Thanks
@RobertBrunhage
@RobertBrunhage 5 жыл бұрын
Will do!
@yashpaneliya1362
@yashpaneliya1362 4 жыл бұрын
Thanks you sir, you solved my problem
@questionoverflowoverflow3967
@questionoverflowoverflow3967 4 жыл бұрын
Firestore CRUD with Social Application example kzbin.info/www/bejne/b6DSaoCMm6mnZq8
@sidhu704
@sidhu704 5 жыл бұрын
Absolutely clear and concise tutorial, I love it, I was wondering, how do I connect this database to a specific user ID (into the users who are part of the 'Authentication' in Firebase) ? How do I connect them such that only the signed in user can see their respective todo list for example?
@RobertBrunhage
@RobertBrunhage 5 жыл бұрын
Thanks for the positive feedback :) That would be Firestore rules if I understand your question correctly. There you can specify rules for the whole database or for specific documents such as users/{userId} then something like if auth == true. I would recommend that you would check out Firestore rules: firebase.google.com/docs/firestore/security/get-started
@sidhu704
@sidhu704 5 жыл бұрын
@@RobertBrunhage Unfortunately I'm struggling to find out exactly how to make each todo list exclusive to the signed in user. There's no examples or sources for how to connect each user to a database with Flutter specifically. And I'm struggling to translate it from other languages that have examples present online.
@RobertBrunhage
@RobertBrunhage 5 жыл бұрын
@@sidhu704 I will make more tutorials in this in the future but for now maybe my explaination could be enough haha. So what you would do is that when you sign in with firebase auth you get a user object. That user object contains an ID, that id you can then use to create a user node in Firestore. So now you would have a collection of users and a node for each user that has their id as a value. Now you can simply get the document in the users collection that has the ID of the currently signed in user with db.collection('users').document(user.uid) or something like that. Hope this makes sense as I don't remember the syntax on the top of my head. :)
@kotivideos7140
@kotivideos7140 5 жыл бұрын
great can you do same for firebase crashlytics and firebase notification
@RobertBrunhage
@RobertBrunhage 5 жыл бұрын
Will certainly do this in the future. Haven't gotten that much time to play around in those yet so will have to do that first!
@kaka97100
@kaka97100 4 жыл бұрын
i got an error type 'List' is not a subtype of type 'List' at return Column(children: snapshot.data.documents.map((doc) => buildItem(doc)).toList());
@danoneill8751
@danoneill8751 4 жыл бұрын
Like the style with the dense rate of data, morons like me have to watch on slow-mo, but thats fine and means I can speed up when its something I already know. Thanks for the content!
@questionoverflowoverflow3967
@questionoverflowoverflow3967 4 жыл бұрын
Firestore CRUD with Social Application example kzbin.info/www/bejne/b6DSaoCMm6mnZq8
@mohamedyahya222
@mohamedyahya222 5 жыл бұрын
Thanks for this awesome video My question is if i join your academy and pay annually for it what kind of apps i will learn ?? I want to see more details about paid courses For example is there a full flutter app with firestore and cloud messging And upload pic and so on ??
@RobertBrunhage
@RobertBrunhage 5 жыл бұрын
When you say adademy do you mean Skillshare?
@mohamedyahya222
@mohamedyahya222 5 жыл бұрын
@@RobertBrunhage Exactly Can i see more details ? About courses?
@loganjack7395
@loganjack7395 4 жыл бұрын
Hey dude i have collection named 'user' and in that i have document named 'abc' i know document name so i can easily pass the name in document() but how i can get that document id through code and save in variable? I cant find any answers please help
@RobertBrunhage
@RobertBrunhage 4 жыл бұрын
When you get the document you have access to document.data (this is the fields inside the document), and you also have access to document.DocumentId which is the id of the document! :)
@loganjack7395
@loganjack7395 4 жыл бұрын
@@RobertBrunhage DocumentSnapshot df = await Firestorr.instance.collection("user"). document.get(); String id = df.documentID; Print(id); This my code but it showing rondom id not that i had in document help Please
@RobertBrunhage
@RobertBrunhage 4 жыл бұрын
@@loganjack7395 When you say it shows a random id. Does it show the one in the actual document or the one the document is called before you click on it, in firestore?
@loganjack7395
@loganjack7395 4 жыл бұрын
@@RobertBrunhage no not in document and not before it just random like when we click on auto id the id we get randomly like that
@RobertBrunhage
@RobertBrunhage 4 жыл бұрын
@@loganjack7395 Hmm weird. That should be the ID that the document represent (visible in firestore)
@AMODERNArcher
@AMODERNArcher 5 жыл бұрын
Aha! Using Firebase CRUD + BloC(RxDart) would make it possible to make an app like Instagram? I am not experienced with streamcontrollers and firebase CRUD but I guess that's the way to go? I really want to learn how to create a "post" with an image and a title etc. Can I ask you a personal question? what are you working with?
@RobertBrunhage
@RobertBrunhage 5 жыл бұрын
It is fully possible to build an app to create posts etc but to the extent of Instagram I would consider another database which uses SQL instead of NoSQL. There are multiple ways of handling state I just prefer the BLoC(RxDart) vanilla way :). I am a consultant as a SharePoint Developer :)
@AMODERNArcher
@AMODERNArcher 5 жыл бұрын
@@RobertBrunhage Oh so Firebase is not scalable enough for an app like Instagram? Well it seems like I have to hire backend developers in order to make the app I want to accomplish. Hm it's frustrating when you have leads on an idea and you cannot accomplish the product.
@RobertBrunhage
@RobertBrunhage 5 жыл бұрын
@@AMODERNArcher Well Firestore is scaleable but the problem is with a complex app as Instagram there are a ton of different relations of data that will be hard to query for in a NoSQL database compared to a SQL database. If I were you I paint up how the app would work from a backend perspective and see if Firestore has support for those queries etc that you are looking for. But from my experience when it comes to features like see posts from people you follow and only take 10 posts that are ordered in time, they require a bit more complex queries.
@AMODERNArcher
@AMODERNArcher 5 жыл бұрын
@@RobertBrunhage Thanks a lot mate! If I succeed no matter how I get there I sure will keep your support in mind! cheers!
@RobertBrunhage
@RobertBrunhage 5 жыл бұрын
@@AMODERNArcher Just happy to help, just keep at it and you sure will! :)
@andyjohannes4233
@andyjohannes4233 5 жыл бұрын
thankyou
@arbazkdr136
@arbazkdr136 5 жыл бұрын
*Please help me :-(* I was trying to connect my Android flutter App with firestore and I follow each and every step correctly twice but when I add *com.google.gms….* and all stuff which is required , After that when I sync the gradle It shows me a unkown error *ASCII* printed on console … Please help me !!
@gowthamrajukongara
@gowthamrajukongara 5 жыл бұрын
Hi all please tell me which package contains tomap() and frommap() methods if possible give me link thanks.
@RobertBrunhage
@RobertBrunhage 5 жыл бұрын
Here is an example: gist.github.com/RobertBrunhage/72cf795cafe0e65498aa3bab7146ed5b. You need to create them and that would be in the model you want to use it with!
@ritheeshthomas2732
@ritheeshthomas2732 4 жыл бұрын
superrr
@faisalfotoh1909
@faisalfotoh1909 3 жыл бұрын
please update syntax for last version firebase please
@hildingj
@hildingj 5 жыл бұрын
nice thumbnail
@RobertBrunhage
@RobertBrunhage 5 жыл бұрын
Indeed 😀
@KalinduAragorn
@KalinduAragorn 4 жыл бұрын
dont paste code when ur talking... please type. its annoying to watch
@RobertBrunhage
@RobertBrunhage 4 жыл бұрын
Note taken, thanks for the feedback!
NeoVim With Flutter is AWESOME
10:56
Robert Brunhage
Рет қаралды 21 М.
I was just passing by
00:10
Artem Ivashin
Рет қаралды 17 МЛН
This Game Is Wild...
00:19
MrBeast
Рет қаралды 193 МЛН
Как Я Брата ОБМАНУЛ (смешное видео, прикол, юмор, поржать)
00:59
Flutter Tutorial - Firestore with Flutter
22:06
whatsupcoders
Рет қаралды 22 М.
Flutter: Firebase Tutorial Part 1 | Auth and Sign in
23:27
Robert Brunhage
Рет қаралды 163 М.
Why I Chose Copywriting as a Beginner
9:08
Harleen Saini
Рет қаралды 407
My favorite testing approach in Flutter
3:35
Robert Brunhage
Рет қаралды 1,9 М.
This is my approach to state management in Flutter
4:47
Robert Brunhage
Рет қаралды 3,4 М.
Flutter Appwrite a Firebase Competitor
9:43
Robert Brunhage
Рет қаралды 26 М.
Redux Saga With TypeScript - 10 - Complete Tutorial
17:51
Seeema Holiday Developer
Рет қаралды 9
Complex Animations in Flutter using Rive | Flare
15:44
FilledStacks
Рет қаралды 226 М.
Making a Cross Platform Game in Flutter
4:34
Robert Brunhage
Рет қаралды 37 М.
I was just passing by
00:10
Artem Ivashin
Рет қаралды 17 МЛН