Flutter Firebase Setup for Power Users

Поділитися
Вставка
  • Опубліковано 10 лип 2024
  • Building an app for iOS and Android? This guide will get you up and running with Flutter & Firebase, plus a few optional superpowers for serious app developers. fireship.io/snippets/install-...
    00:00 Initial Setup
    01:46 Android Setup
    03:41 iOS Setup
    05:01 Analytics
    07:02 Performance
    08:08 Crashlytics
    10:10 Distribution
    11:08 Firestore Emulator
    Full Flutter Course fireship.io/courses/flutter-f...
    FlutterFire Docs firebase.google.com/docs/flut...
    #firebase #flutter
    Install the quiz app 🤓
    iOS itunes.apple.com/us/app/fires...
    Android play.google.com/store/apps/de...
    Upgrade to Fireship PRO at fireship.io/pro
    Use code lORhwXd2 for 25% off your first payment.
    My VS Code Theme
    - Atom One Dark
    - vscode-icons
    - Fira Code Font
  • Наука та технологія

КОМЕНТАРІ • 134

  • @Fireship
    @Fireship  3 роки тому +53

    It's been awhile since my last Flutter video. This is just a basic starting point, so let me know what advanced topics you want to see next...

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

      Please make angular firebase authentication video, firebase libraries has changed a lot.

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

      With all recent changes, what do you recommend for state management now?

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

      Also, notifications in Flutter with FCM :D

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

      Role or ACL based UI. Especially with a Drawer for side menu nav.

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

      Would be nice to see a tutorial on running a Flutter app as a background/foreground process. Also local notifications without FCM.

  • @vioxa8645
    @vioxa8645 3 роки тому +58

    Don’t know how you pack in so much info, but keep it so understandable, props to you.

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

      I'm gonna agree with Vioxa here... I'm relatively new and I'm still getting more and more comfortable with reading the documentations for packages etc. Whenever Fireship dumps some stuff, on UA-cam I just know it's almost as efficient as reading the docs, sometimes even more so. Great content as always!

  • @okie9025
    @okie9025 3 роки тому +11

    I'm really loving this new trend of quick snippets/tutorials that pack a lot of information in a short time and an entertaining format, just like Flutter is doing!

  • @CodingWithJustin
    @CodingWithJustin 3 роки тому +14

    Flutter seems to be growing! Thanks for the tutorial!

  • @RobertBrunhage
    @RobertBrunhage 3 роки тому +22

    So many topics covered so condensed, great work!

  • @Paneking95
    @Paneking95 Рік тому +2

    Just went through this setup and the whole process is way easier today. A truly perfect tech stack as of today!

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

    Thank you for sharing this video. I was holding off on Crashlytics for the longest but now I’m too ready to get it implemented. You explain your content very well.

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

    Maybe it's just the way my brain works, or doesn't, but your tempo on this video is spot on perfect. This is a ton of information and it never feels overwhelming. Well done Jeff.

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

    I was an early adopter to Firebase/Flutter back in 2018 and have a few iOS apps on the market. I didn't even know half these features existed thanks so much!

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

    Extremely helpful, these are the first things one needs to do in the initial stages of any flutter app. I have been developing flutter apps for a while and I must say some of the content shared, I didn't know the value of. Thanks for sharing... 😎😎😎

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

    I'm so glad I subscribed to your channels... Things you explained here Took me 5 days to understand it and u did it in 13 mins 🔥🔥🔥

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

    Hey, you're amazing!!! I like how clear and straightforward this video was. Subscribed, Liked and Commented 😅

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

    Appreciated. Thanks for making this video in such a super way

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

    Thank you for very useful instructions. I usually put instructional videos to 1.25 speed to catch up stuff faster. You are the only one where I need to put the speed to 0.75 😁

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

    Top level content, thanks a lot for this video!

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

    Very helpful as always. I'm trying out the emulators ASAP!!

  • @tomihawk01
    @tomihawk01 3 роки тому +7

    Wow, that's at least two weeks worth of googling and reading and trial and error and putting topics on a to-do list because you know you should be integrating with analytics and crashlitics but it's just so fiddly.... Thank you. This is like the perfect all-inclusive foundation to start building an app from instead of retrofitting all the extras at some future date that keeps getting kicked down the road.

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

    Always pro level content❤️❤️❤️😍😍 love your content...

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

    Finally!!!! I have been waiting for so long for a TRUE EMULATOR

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

    What an amazing video. Well done!

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

    Ag great video. Learnt so many things so quickly......
    Also never knew there are so many various use cases for firebase and it's so easy. I just used to use DB and sign in...

  • @mmertduman
    @mmertduman 3 роки тому +16

    There is a huge difference between being knowledgable and being a good teacher.
    You are both. Thank you for the clear and concise tutorials. Many other UA-camrs would turn this 13 minute video into a 10 episode playlist.
    What is the workflow for doing this in Flutter web? Is it similar? Will you make a video on it? Thank you.

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

    Thank you for your work!

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

    Thanks man !

  • @josipsokac7128
    @josipsokac7128 3 місяці тому

    Thank you!

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

    Been waiting for this.

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

    awesome video. Great overview. I've been having great success with the firestore firebase combination. Now I can point everyone to this video that wants to see a setup video. Great coverage as always.

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

    OOOO BROTHER!!! Another banger!!!

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

    great video as always

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

    I've taken a year off work to create an app. And you sir have been a huge help. Some of your content has been EXACTLY what I've been looking for. Including this.

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

    The channel with the best thumbnails

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

    Nice know there are some "perfect" tech stacks out there!

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

    Awesome! video mate

  • @000-way7
    @000-way7 Рік тому

    Awesome, wonderful !

  • @blank-vw2sb
    @blank-vw2sb 3 роки тому

    Best video on firebase!

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

    Wow great video 😍🥰

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

    Something to note...to get firebase synced you have to initialize FireBase on main.dart. Future main() async {
    WidgetsFlutterBinding.ensureInitialized();
    await Firebase.initializeApp();
    runApp(MyApp());
    }

  • @skypuff
    @skypuff 9 місяців тому

    Thank goodness now we have the flutterfire cli for this setup. At least the first 5 minutes can now be automated.

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

    Just in time. I need to add Crashlytics to my app

  • @JohnJohnson-ds4ui
    @JohnJohnson-ds4ui 3 роки тому

    More great content 👌

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

    Really beautiful what you are doing, a start point that everyone need, could you please how translate idea to flutter project, how to model data base and should we create a diagram before start coding ?

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

    I literally just built my infrastructure in Aws with a web server and dbs, but damn I may use fire base one day. It looks great.

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

    SO GOOD

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

    Awesome output! A quick question, does Crashlytics also work for obfuscated code?

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

    helpful

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

    mah man 💫

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

    Amzing!!

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

    Hi! I love Firebase thanks to your videos. Would you be able to do a video on how to manage billing, anticipate and manage costs, and more importantly, how to transfer a project to a client/someone else? I have a number of projects that I have build for clients and I am really struggling to handover the project to them. Thanks!

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

    Please share the theme and extensions you use (used for changing the appearance). I like the look of your vs code.
    Edit: found it in the video description. Nice touch.

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

    Will your firestore modeling course on your website be helpful for me as a flutter developer, given that your course is using javascript?

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

    Why do you have the colors of google (red yellow green blue) around your profile picture in the firebase console 1:43?

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

    What would you recommend for an app that needs real time data but also data that needs to be represented in a relationship? Should I use firebase for authentication and real time features and then use cloud sql for the other pieces?

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

    Hey, man! Awesome video! I'd like to ask you something: I'm trying to make a Flutter app to work with a local Firestore instance using the Firebase Emulator, but no success so far. Steps I already did:
    1) setup a Firebase project
    2) setup the Firebase Emulator (everything is running normally and I manage to access the Firestore from the localhost:4000
    3) setup the Firebase project in the Flutter app (installed libs firebase_core and cloud_firestore). I tested the app using the real Firestore, and it works perfectly
    4) include the change for the FirebaseFirestore instance setting in order to start using the emulator instead of using the real project
    This is were I'm having issues... I've tried everything, from changing the firestore emulator port to adding the "host": "0.0.0.0" in the firebase.json file.
    When I call the database, this is what I get:
    W/DynamiteModule(30881): Local module descriptor class for providerinstaller not found.
    I/DynamiteModule(30881): Considering local module providerinstaller:0 and remote module providerinstaller:0
    W/ProviderInstaller(30881): Failed to load providerinstaller module: No acceptable module found. Local version is 0 and remote version is 0.
    I/rebase_emulato(30881): The ClassLoaderContext is a special shared library.
    I/rebase_emulato(30881): The ClassLoaderContext is a special shared library.
    I/TetheringManager(30881): registerTetheringEventCallback
    V/NativeCrypto(30881): Registering com/google/android/gms/org/conscrypt/NativeCrypto's 288 native methods...
    W/rebase_emulato(30881): Accessing hidden method Ljava/security/spec/ECParameterSpec;->getCurveName()Ljava/lang/String; (greylist, reflection, allowed)
    I/ProviderInstaller(30881): Installed default security provider GmsCore_OpenSSL
    W/Firestore(30881): (22.0.0) [OnlineStateTracker]: Could not reach Cloud Firestore backend. Backend didn't respond within 10 seconds
    W/Firestore(30881):
    W/Firestore(30881): This typically indicates that your device does not have a healthy Internet connection at the moment. The client will operate in offline mode until it is able to successfully connect to the backend.
    Any clues?
    Thanks in advance!!

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

    What's the best way to sync your project between windows and mac?

  • @user-vg7zv5us5r
    @user-vg7zv5us5r Рік тому

    6:12 Could you present a case when I might need to gather, listen to users' data as a web developer?

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

    Great video as usual but anyone knows that intro song?

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

    Cool! Firebase is awesome. Do you think there is a reason for big companies to not use it?

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

    No way. I was coding a Flutter/Firebase stack and took a break and saw this.

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

    What are your thoughts on building a payment system in firebase/firestore

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

    Good day. I liked your lessons. Could you take a lesson on how to make a mobile application on the topic of ecology? For example, the application how to improve the ecology in the place where you live, having good habits, can be done in a playful way. Well, or something else. What do you think? It is on Flutter in the Dart language. After all, the topic of ecology is more relevant than ever, you will help a lot if you do a lesson

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

    I was wandering if you can make a video about cloud messaging 😅

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

    How are you meant to set up the firebase app if you aren't working on a Mac. I've looked at loads of tutorials now and I can't find the answer.

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

    (ValuableContent, clearExplanation, awesomeIntroduction )=>Fireship

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

    Yes. 👍🏾👍🏾😉

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

    For anyone in the future coming
    For the initial setup there's a official CLI to configure firebase for flutter called flutterfire cli

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

    Notification squad ;)

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

    hello bro
    I got these errors when i set up firebase
    Plugin project :firebase_auth_web not found. Please update settings.gradle.
    Plugin project :firebase_core_web not found. Please update settings.gradle.
    Plugin project :cloud_firestore_web not found. Please update settings.gradle.

  • @dev.faizan
    @dev.faizan 3 роки тому

    Hy brother how can we show quotes when internet is offf..... I'm fetching quotes from firebase but i want to store in phone... etc.. and when internet isn't available it will show stored quotes..
    Do you have any tutorial or suggest me any videos please...... Please 😇😇😇

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

    About Firebase App distribution: Wouldn't pushing an app version to e.g. an Alpha channel (possibly with fastlane) be easier than manually uploading and inviting your testers via email all the time? In my project I just call 1 command for fastlane to build, and ship to Alpha so all my testers can just update their apps.. 🤔

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

    when is react+firebase and vue+firebase?

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

    On pub.dev says crashlytics needs more stuff done an android gradle files..

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

    tell us more about creating IOS app without a mac that would be cool

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

    tell us how to configure ios to firebase in windows

  • @AmitKumar-qv2or
    @AmitKumar-qv2or 3 роки тому

    What are the odds!! I have just put my lapi off, because it gave me so pain to setup.

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

    What about web assembly ?

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

    I get this error :c
    error: 'settings' isn't a function or method and can't be invoked.
    await FirebaseFirestore.instance.settings(

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

      use this from firebase.flutter.dev/docs/firestore/usage/
      // Import foundation for [TargetPlatform].
      import 'package:flutter/foundation.dart';
      // Switch host based on platform.
      String host = defaultTargetPlatform == TargetPlatform.android
      ? '10.0.2.2:8080'
      : 'localhost:8080';
      // Set the host as soon as possible.
      FirebaseFirestore.instance.settings = Settings(host: host, sslEnabled: false);

  • @user-vg7zv5us5r
    @user-vg7zv5us5r Рік тому

    12:30 Stealth
    12:40 Anticipation
    12:50 Assault

  • @iamfirdous
    @iamfirdous 3 роки тому +13

    3:45
    Am I the only one who is worried about that extra line that he left inside the dependencies? It's making me anxious.

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

    You should have created this video much before. Still very thanks Jeff!!

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

    Wait... Dart's not dead and buried?

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

    Crashlytics and Non-Fatal are the main reason for us not to use it. By default Crashlytics will send mails for fatal error and regressions. I believe this is not possible for non-fatal and the benefit of them are to trace any real non-fatal. In our app (without Flutter) we used it to trace any responses with code != 2xx to see any critical behaviors in the backend, but also with that, we had a delay, because we aren't notified about unusual behaviors in the non-fatal reports. I use sentry.io (which is also not perfect) and it will inform our devs about new issues asap.

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

    🔥🚢

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

    If i have an online store made in flutter and firebase, with thousands of clicks by day, I believe that having a database hosted in firebase would be too expensive, right?

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

      Depends on you data structure and how you request data from Firestore. A NoSQL Database. For many cases it is actually cheaper than other cloud services.

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

      @@blaueeiner Thousands of clicks on products and images and so on, a day, would require more than a free firebase pack. No? All the clicks would require a response from database. Sorry for my questions but im trying to understand this. Because the paid pack seems to me to expensive to handle.

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

    Create video with using firebase with provider , i think i am doing all wrong in my projects

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

    flutterfire init?

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

    React native please 😢

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

    react firebase please

  • @user-vg7zv5us5r
    @user-vg7zv5us5r Рік тому

    8:10 Developers are in shambles in the front of bad user reviews.

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

    733th like :D

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

    🍑🍆 BINOD BINOD BINOD 🍑🍆

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

    First

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

    tester my azz. how can the app be tested in seconds? if sent by email. to a tester? liar
    the app will be runned on poors ppl phones without consent. it happens with windose, and android from what i know.

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

    What does firebase core do? So far I haven't included it and everything is working?

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

      I don't think it's necessary. It's only used if you want to connect to multiple firebase apps