Flutter Firebase Setup Android & iOS Tutorial 2022

  Рет қаралды 82,054

Marcus Ng

Marcus Ng

Күн бұрын

» Flutter courses, writeups, and source code on Launch Club 🧠
LaunchClub.io
Learn how to integrate Firebase into your Flutter projects for Android and iOS in this step by step tutorial. This Flutter tutorial is great for beginners as well as advanced developers who want to implement Firebase into their Flutter projects.
» Remember to like, subscribe, comment, and share this video! 🚨
kzbin.info?sub_conf...
» Socials📱
GitHub: github.com/MarcusNg
Twitter: / marcuslng
» Resources 📂
Enable Multidex: firebase.flutter.dev/docs/ins...
» Timestamps 🕒
0:00 Introduction
0:22 Firebase Project Setup
1:09 Flutter Project
1:22 Android Setup
4:18 iOS Setup
5:42 Cloud Firestore
6:12 pubspec.yaml
6:32 main.dart
8:10 Pro Tip #1
8:29 Pro Tip #2
8:58 Thanks for Watching
» Music 🎶
Joakim Karud ( / joakimkarud )
#Flutter #FlutterFirebase #30DaysOfFlutter

Пікірлер: 102
@snickr6377
@snickr6377 3 жыл бұрын
Really clear explanation of firebase setup. The best! Thanks Marcus.
@andrewvillegas2746
@andrewvillegas2746 3 жыл бұрын
Sir just wanted to thank you so much. I had been stuck 3 days in installing the iOS side, because of the firebase exception. So GLAD I came across this GOLD!!! Also, your way of explaining is just superb-- you got a new sub!
@FelexAndVirginia
@FelexAndVirginia 3 жыл бұрын
Fuck that was clearest explanation of firebase ever...... Was struggling with deprecated tutorials
@mrjustin2607
@mrjustin2607 3 жыл бұрын
Same here.
@Jesus-yz5iu
@Jesus-yz5iu 2 жыл бұрын
@@MarcusNg I have a question, can I use firebase for an app like Reddit with over 100million users?
@collinsattafuah2947
@collinsattafuah2947 2 жыл бұрын
I must say he did a great job . I have been struggling too
@robertpietraru1939
@robertpietraru1939 3 жыл бұрын
The clearest tutorial about firebase ever. Thank you so much!
@bodyhanger7137
@bodyhanger7137 3 жыл бұрын
Thanks Marcus, I have all your courses on Udemy. Love this updated Firebase tutorial. Thanks man. ⭐️⭐️⭐️⭐️⭐️
@buck-johnson
@buck-johnson Жыл бұрын
Another great tutorial by Marcus. Thank you. Great style. I love that you never repeat yourself.
@erikapueblo6871
@erikapueblo6871 2 жыл бұрын
Thank you so much for this! Your instructions were very clear. Subscribing!
@mantaspasakarnis2739
@mantaspasakarnis2739 2 жыл бұрын
If anyone gets error at 7:26 don't add .data() in line 40 It is the new flutter update.
@timur1753
@timur1753 Жыл бұрын
tnx🥰
@user-ex8zp6ei1n
@user-ex8zp6ei1n Жыл бұрын
thank help alot.
@raisulhasan5499
@raisulhasan5499 3 жыл бұрын
Thank you very much Marcus Ng
@eQ-13
@eQ-13 3 жыл бұрын
Thanks Marcus. Great work as always. Could you do one that covers flutter web?
@jrgirottotecnologia
@jrgirottotecnologia 3 жыл бұрын
Muito bom Marcus!!! Parabéns!!!!!
@SharCourse
@SharCourse 2 жыл бұрын
I really found it helpfully. Thank you
@neketra
@neketra 2 жыл бұрын
Great lesson. Thanks!
@RenattoHeld
@RenattoHeld 2 жыл бұрын
Thank you very much, it still works!
@moaffakanwarballol-4915
@moaffakanwarballol-4915 3 жыл бұрын
Thank you so much, You solve a big problem for me. I pick you up the hat...
@WonderPlayTR
@WonderPlayTR 3 жыл бұрын
It's very nice video. Thanks for this.
@hudisantoso6972
@hudisantoso6972 3 жыл бұрын
Sir, it's a really great relief to see this kind of tutorial. Will you create one for firebase auth? And integrating it with firestore, so it's kind of a series..
@fernandowinstonb
@fernandowinstonb 3 жыл бұрын
The best explanation on the web
@yashkhattar8948
@yashkhattar8948 3 жыл бұрын
Thank you so much ❤
@nateg617
@nateg617 3 жыл бұрын
Thank you so much !!!
@shajahankabir5752
@shajahankabir5752 3 жыл бұрын
Thanks brother!
@vishwayasas7981
@vishwayasas7981 3 жыл бұрын
thank you so much sir!
@The777Simon
@The777Simon 3 жыл бұрын
Love you!
@QuietStorm_
@QuietStorm_ 2 жыл бұрын
thanks, this help me with my problem installing in android
@ricarsur9035
@ricarsur9035 Жыл бұрын
Thanks you so much
@justchecking2470
@justchecking2470 3 жыл бұрын
big big thanks
@tiktik1516
@tiktik1516 2 жыл бұрын
Good and well neat presentation
@sargamagarwal4544
@sargamagarwal4544 2 жыл бұрын
Gratefull 🙏🙏
@Flutterdev6391
@Flutterdev6391 3 жыл бұрын
Thanks
@ahmadxrizvi
@ahmadxrizvi 2 жыл бұрын
Great video can you please make one on sign in sign up authentication too?
@aqua_dio
@aqua_dio 2 жыл бұрын
Thank you for clear explanation I have a question, why did you skip after adding json file? Is it not required for the project?
@mrbusy4215
@mrbusy4215 3 жыл бұрын
Miss U Teacher
@chuxville11
@chuxville11 3 жыл бұрын
I have missed You Marcusng...
@Ainigma
@Ainigma 3 жыл бұрын
Here are updated .yaml dependencies: cloud_firestore: ^2.4.0 firebase_analytics: ^8.2.0 firebase_auth: ^3.0.1 firebase_core: ^1.4.0
@adilbasharat
@adilbasharat 3 жыл бұрын
thanks
@fullycalm2834
@fullycalm2834 3 жыл бұрын
Love the content, please re-create Spotify!
@shei69
@shei69 3 жыл бұрын
Do we have to add the firebase libs on the build.gradle ? Is it okay to just add them to the pubspec only?
@gaaty1954
@gaaty1954 3 жыл бұрын
Do we have to sync the build.gradle file in android studio?
@pradeepsamuel6372
@pradeepsamuel6372 2 жыл бұрын
@MarcusNg This tutorial is really great. I learned many things. Thanks for uploading this video. I am so grateful for this videos and also the comments helped me to solve the problems.
@vedantghate92
@vedantghate92 3 жыл бұрын
It gives me the error for apply plug in my grade build is failed cause of that nd app is not launching
@sherwinromero1323
@sherwinromero1323 3 жыл бұрын
everytime I import cloud_firestore in pubspec.yaml, I always get this error, Cannot read property 'app' of undefined at Object.app$ [as app] pls help :
@vishwayasas7981
@vishwayasas7981 3 жыл бұрын
Sir, How to create a screen where you can exchange messages between developer and user?
@igroffice8515
@igroffice8515 Жыл бұрын
im not able to build my ios app itself. im using xcode 13.4 also downgraded to 13.0 also but no luck yet. and mac os 12.5
@lionking3770
@lionking3770 2 жыл бұрын
It's working for android but iOS is not working. As you said I have changed the pod file platform to 10.0 after that my Mac was over heating and getting stuck. anyway thank you for the video.
@anthonyperfetto9552
@anthonyperfetto9552 Жыл бұрын
When I try to run the application on Xcode I get this error: Module 'cloud_firestore' not found is there any way to fix it?
@srilankancartoonsongs2257
@srilankancartoonsongs2257 3 жыл бұрын
Can you explain how to get youtube url from firebase and play video on flutter app
@dominchill3482
@dominchill3482 3 жыл бұрын
Is there a way to immeditely shut down the services if your Costs skyrocket because of a mistake or something? Or what would be the best next step, if the budget alert gets triggered?
@noobboos612
@noobboos612 3 жыл бұрын
hey man, thanks for the video. I had a problem placing the "apply plugin: 'com.google.gms.google-services'" in the app / src / build.grandle. For some reason it only worked by putting this line at the end of the file. The application ran smoothly, but when compiling various information appears in the debug, such as: W / app.familytuto (7238): Accessing hidden method Ldalvik / system / CloseGuard; -> close () V (greylist, core-platform-api, linking, allowed) W / DynamiteModule (7238): Local module descriptor class for providerinstaller not found. I / DynamiteModule (7238): Considering local module providerinstaller: 0 and remote module providerinstaller: 0 W / ProviderInstaller (7238): Failed to load providerinstaller module: No acceptable module found. Local version is 0 and remote version is 0. [... and much more...] When I refresh everything works fine, but these lines still appear in the debug - in a smaller amount. Is this expected?
@poisonels8023
@poisonels8023 3 жыл бұрын
Very useful.
@divinemacdonald1675
@divinemacdonald1675 2 жыл бұрын
Must you have a website to change your application Id can you use any name?
@keithbacalso9433
@keithbacalso9433 Жыл бұрын
Why did you not add the BoM in the build.gradle??
@jaggyjut
@jaggyjut 3 жыл бұрын
Is there a video on firebase authentication and CRUD
@chomanthapa
@chomanthapa 3 жыл бұрын
Firestore database or real-time database ? Which ones better ?
@arvobrendon4267
@arvobrendon4267 2 жыл бұрын
This doesn't work on latest anymore it will show error: firebase_core not found
@saitakuma
@saitakuma 3 жыл бұрын
tutorial how to build signup signin page?
@Jesus-yz5iu
@Jesus-yz5iu 2 жыл бұрын
@Marcus Ng I have a question, can I use firebase for an app like Reddit with over 100million users?
@immanuel_nana_nti
@immanuel_nana_nti Жыл бұрын
Hello sir, thank you for your good works. Please how do I get the source code? I will glad if you can help.
@reemanfahaad
@reemanfahaad 2 жыл бұрын
can we use the same cloud firestorm with IOS and android in the same time? can we can we???
@poisonels8023
@poisonels8023 3 жыл бұрын
Is it the same for the web?
@andrewvu712
@andrewvu712 2 жыл бұрын
the official resource has so many errors this one has none lol, thanks
@lm-gn8xr
@lm-gn8xr 2 жыл бұрын
Wait so I can't setup firebase for iOS if I don't have a mac ?
@mela_pela
@mela_pela Жыл бұрын
In iOS, why do you skip the rest of the configuration?
@muhammadafzal237
@muhammadafzal237 2 жыл бұрын
I am stuck in flutter firebase auth. Please create next video on flutter firebase auth. If already created put the link here in comment. THANKS
@franciscopalacios3799
@franciscopalacios3799 3 жыл бұрын
do you have courses on udemy?
@bloodwinggamer1444
@bloodwinggamer1444 2 жыл бұрын
Bro how to install xcode
@qqgermanb
@qqgermanb 3 жыл бұрын
Can you help me? I have infinite loading 'Running pod install...' . I have MacBook Air M1.
@TeaPodu
@TeaPodu 3 жыл бұрын
bro i have the same issue bro
@tdev_s
@tdev_s 3 жыл бұрын
Same. 😂😂😂
@tdev_s
@tdev_s 3 жыл бұрын
Do you have solution?
@tdev_s
@tdev_s 3 жыл бұрын
I have one. arch -x86_64 pod install
@jamesogletree5257
@jamesogletree5257 2 жыл бұрын
Marcus, I have one line with a problem I could not fix. So this one line is stopping me: final dateTime = (docData!['timestamp'] as Timestamp).toDate(); I am using Flutter 2.5 with NullSafety. I inserted the NullSafety "!" character to assure the value will not be null but it still does not work. I got the following error message: The operator '[]' isn't defined for the type 'Object'. How can I fix this problem?
@jwtruver5114
@jwtruver5114 2 жыл бұрын
I was having the same issue. I searched through the other comments and found the answer from Tom Holland: I have found the solution... In the new flutter update, we don't need to add .data(). Replace the following lines with the code below, final docData = snapshot.data.docs[index]; final dateTime = (docData["timestamp"] as Timestamp).toDate();
@drix7586
@drix7586 2 жыл бұрын
@@jwtruver5114 thank you sir
@gizemturan2504
@gizemturan2504 2 жыл бұрын
@@jwtruver5114 thanks a lot :)))
@erdemsym
@erdemsym 2 жыл бұрын
Why did you skip ios 3.step ?
@seckink.1286
@seckink.1286 Жыл бұрын
The property 'docs' can't be unconditionally accessed because the receiver can be 'null'. Help
@seckink.1286
@seckink.1286 Жыл бұрын
solved it
@abdulraheel6529
@abdulraheel6529 3 жыл бұрын
Everything is fine but you didn't explained the firebase implementation code and didn't provided code.
@HoldMyData
@HoldMyData 3 жыл бұрын
docData['timestamp'] returns undefined operator Line 41?
@sugarandsorbet
@sugarandsorbet 3 жыл бұрын
im getting the same error help please @marcusNG
@saratiko
@saratiko 3 жыл бұрын
I've got the same error, seem to be due to null safety or something that ships by default as of 2.2. Code is exactly as the example but breaks the app trying to display data. Have you found any solution so far?
@HoldMyData
@HoldMyData 3 жыл бұрын
@@saratiko good idea I'll try and let you know when I can!
@saratiko
@saratiko 3 жыл бұрын
I still have not found a solution, hopefully someone can find a solution to the problem.
@TomGalland
@TomGalland 3 жыл бұрын
I have found the solution... In the new flutter update, we don't need to add .data(). Replace the following lines with the code below, final docData = snapshot.data.docs[index]; final dateTime = (docData["timestamp"] as Timestamp).toDate();
@aqueebqazi4845
@aqueebqazi4845 2 жыл бұрын
WEB SETUP?
@fawadqasimi238
@fawadqasimi238 2 жыл бұрын
Thank you for this great video, but there is no Xcode for windows users, how to connect the IOS with firebase in windows, could you please clarify how can I do it in windows
@Logan9312
@Logan9312 Жыл бұрын
You need Xcode for iOS apps
@nangseakheng2976
@nangseakheng2976 2 жыл бұрын
The clearest tutorial about firebase ever. Thank you so much!!!
Getting started with Firebase on Flutter - Firecasts
19:28
Firebase
Рет қаралды 174 М.
Flutter Flavors, App Icons, and Firebase Tutorial
9:39
Marcus Ng
Рет қаралды 50 М.
Smart Sigma Kid #funny #sigma #comedy
00:40
CRAZY GREAPA
Рет қаралды 9 МЛН
Clowns abuse children#Short #Officer Rabbit #angel
00:51
兔子警官
Рет қаралды 79 МЛН
Flutter Firebase CRUD (Create, Read, Update, Delete)
15:23
HeyFlutter․com
Рет қаралды 200 М.
Flutter Spotify Clone Desktop/Web UI | Apps From Scratch
1:00:39
Marcus Ng
Рет қаралды 124 М.