Flutter Firebase Setup Android & iOS Tutorial 2022

Поділитися
Вставка
  • Опубліковано 4 жов 2024

КОМЕНТАРІ • 102

  • @FelexAndVirginia
    @FelexAndVirginia 3 роки тому +23

    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

  • @snickr6377
    @snickr6377 3 роки тому +9

    Really clear explanation of firebase setup. The best! Thanks Marcus.

  • @andrewvillegas2746
    @andrewvillegas2746 3 роки тому +4

    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!

  • @mantaspasakarnis2739
    @mantaspasakarnis2739 2 роки тому +5

    If anyone gets error at 7:26 don't add .data() in line 40
    It is the new flutter update.

  • @robertpietraru1939
    @robertpietraru1939 3 роки тому +2

    The clearest tutorial about firebase ever. Thank you so much!

  • @fernandowinstonb
    @fernandowinstonb 3 роки тому +3

    The best explanation on the web

  • @chuxville11
    @chuxville11 3 роки тому +8

    I have missed You Marcusng...

  • @bodyhanger7137
    @bodyhanger7137 3 роки тому +2

    Thanks Marcus, I have all your courses on Udemy. Love this updated Firebase tutorial. Thanks man. ⭐️⭐️⭐️⭐️⭐️

  • @hudisantoso6972
    @hudisantoso6972 3 роки тому +1

    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..

  • @Ainigma
    @Ainigma 3 роки тому +5

    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

  • @eQ-13
    @eQ-13 3 роки тому +1

    Thanks Marcus. Great work as always.
    Could you do one that covers flutter web?

  • @lionking3770
    @lionking3770 3 роки тому +3

    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.

  • @erikapueblo6871
    @erikapueblo6871 2 роки тому

    Thank you so much for this! Your instructions were very clear. Subscribing!

  • @mrbusy4215
    @mrbusy4215 3 роки тому +1

    Miss U Teacher

  • @moaffakanwarballol-4915
    @moaffakanwarballol-4915 3 роки тому

    Thank you so much,
    You solve a big problem for me.
    I pick you up the hat...

  • @QuietStorm_
    @QuietStorm_ 2 роки тому

    thanks, this help me with my problem installing in android

  • @chomanthapa
    @chomanthapa 3 роки тому +1

    Firestore database or real-time database ? Which ones better ?

  • @SharCourse
    @SharCourse 2 роки тому

    I really found it helpfully. Thank you

  • @RenattoHeld
    @RenattoHeld 2 роки тому

    Thank you very much, it still works!

  • @HoldMyData
    @HoldMyData 3 роки тому +6

    docData['timestamp'] returns undefined operator Line 41?

    • @sugarandsorbet
      @sugarandsorbet 3 роки тому

      im getting the same error help please @marcusNG

    • @saratiko
      @saratiko 3 роки тому +1

      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 роки тому +2

      I still have not found a solution, hopefully someone can find a solution to the problem.

    • @TomGalland
      @TomGalland 3 роки тому +12

      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();

  • @yashkhattar8948
    @yashkhattar8948 3 роки тому +1

    Thank you so much ❤

  • @aqua_dio
    @aqua_dio 3 роки тому

    Thank you for clear explanation
    I have a question, why did you skip after adding json file? Is it not required for the project?

  • @igroffice8515
    @igroffice8515 2 роки тому +1

    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

  • @neketra
    @neketra 2 роки тому

    Great lesson. Thanks!

  • @WonderPlayTR
    @WonderPlayTR 3 роки тому

    It's very nice video. Thanks for this.

  • @fullycalm2834
    @fullycalm2834 3 роки тому +2

    Love the content, please re-create Spotify!

  • @ahmadxrizvi
    @ahmadxrizvi 2 роки тому

    Great video can you please make one on sign in sign up authentication too?

  • @keithbacalso9433
    @keithbacalso9433 Рік тому

    Why did you not add the BoM in the build.gradle??

  • @ricarsur9035
    @ricarsur9035 2 роки тому

    Thanks you so much

  • @tiktik1516
    @tiktik1516 2 роки тому

    Good and well neat presentation

  • @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.

  • @raisulhasan5499
    @raisulhasan5499 3 роки тому

    Thank you very much Marcus Ng

  • @jrgirottotecnologia
    @jrgirottotecnologia 3 роки тому

    Muito bom Marcus!!! Parabéns!!!!!

  • @franciscopalacios3799
    @franciscopalacios3799 3 роки тому +1

    do you have courses on udemy?

  • @mela_pela
    @mela_pela Рік тому

    In iOS, why do you skip the rest of the configuration?

  • @shajahankabir5752
    @shajahankabir5752 3 роки тому

    Thanks brother!

  • @divinemacdonald1675
    @divinemacdonald1675 2 роки тому

    Must you have a website to change your application Id can you use any name?

  • @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

  • @justchecking2470
    @justchecking2470 3 роки тому

    big big thanks

  • @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.

  • @andrewvu712
    @andrewvu712 2 роки тому

    the official resource has so many errors
    this one has none lol, thanks

  • @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?

  • @The777Simon
    @The777Simon 3 роки тому

    Love you!

  • @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?

  • @vishwayasas7981
    @vishwayasas7981 3 роки тому

    Sir,
    How to create a screen where you can exchange messages between developer and user?

  • @srilankancartoonsongs2257
    @srilankancartoonsongs2257 3 роки тому

    Can you explain how to get youtube url from firebase and play video on flutter app

  • @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?

  • @reemanfahaad
    @reemanfahaad 2 роки тому

    can we use the same cloud firestorm with IOS and android in the same time? can we can we???

  • @jaggyjut
    @jaggyjut 3 роки тому

    Is there a video on firebase authentication and CRUD

  • @arvobrendon4267
    @arvobrendon4267 3 роки тому

    This doesn't work on latest anymore
    it will show error: firebase_core not found

  • @lm-gn8xr
    @lm-gn8xr 3 роки тому

    Wait so I can't setup firebase for iOS if I don't have a mac ?

  • @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

  • @qqgermanb
    @qqgermanb 3 роки тому +1

    Can you help me? I have infinite loading 'Running pod install...' . I have MacBook Air M1.

    • @TeaPodu
      @TeaPodu 3 роки тому +1

      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

  • @seckink.1286
    @seckink.1286 Рік тому

    The property 'docs' can't be unconditionally accessed because the receiver can be 'null'.
    Help

  • @Jesus-yz5iu
    @Jesus-yz5iu 2 роки тому

    @Marcus Ng I have a question, can I use firebase for an app like Reddit with over 100million users?

  • @sargamagarwal4544
    @sargamagarwal4544 2 роки тому

    Gratefull 🙏🙏

  • @erdemsym
    @erdemsym 2 роки тому

    Why did you skip ios 3.step ?

  • @Flutterdev6391
    @Flutterdev6391 3 роки тому

    Thanks

  • @gaaty1954
    @gaaty1954 3 роки тому

    Do we have to sync the build.gradle file in android studio?

  • @saitakuma
    @saitakuma 3 роки тому

    tutorial how to build signup signin page?

  • @poisonels8023
    @poisonels8023 3 роки тому

    Is it the same for the web?

  • @abdulraheel6529
    @abdulraheel6529 3 роки тому

    Everything is fine but you didn't explained the firebase implementation code and didn't provided code.

  • @bloodwinggamer1444
    @bloodwinggamer1444 2 роки тому

    Bro how to install xcode

  • @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 :

  • @jamesogletree5257
    @jamesogletree5257 3 роки тому

    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 роки тому +5

      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 :)))

  • @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

  • @poisonels8023
    @poisonels8023 3 роки тому

    Very useful.

  • @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?

  • @nangseakheng2976
    @nangseakheng2976 2 роки тому

    The clearest tutorial about firebase ever.
    Thank you so much!!!

  • @buck-johnson
    @buck-johnson Рік тому

    Another great tutorial by Marcus. Thank you. Great style. I love that you never repeat yourself.

  • @vishwayasas7981
    @vishwayasas7981 3 роки тому

    thank you so much sir!

  • @nateg617
    @nateg617 3 роки тому

    Thank you so much !!!