Flutter Flavors, App Icons, and Firebase Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ต.ค. 2024

ความคิดเห็น • 73

  • @mhmzdev
    @mhmzdev 10 หลายเดือนก่อน +12

    2 years, and this video is still helpful
    Thanks bud!

  • @diegodig9
    @diegodig9 6 หลายเดือนก่อน +4

    April 2024 and still working like a charm. Thank you very much for this amazing content!!!!

  • @KemsEdits
    @KemsEdits 2 ปีที่แล้ว +7

    The best flavors tutorial, you saved my day. Thanks a lot Marcus!

  • @bmk4308
    @bmk4308 3 ปีที่แล้ว +7

    Yeah! Marcus is back...I'm a Launchclub member. Learning a lot from your courses

    • @maxdegreat566
      @maxdegreat566 3 ปีที่แล้ว

      @@saagilkhan5854 maybe i can answer i was subscribed for abt 4 months

  • @snickr6377
    @snickr6377 3 ปีที่แล้ว +6

    Thanks Marcus. Best flutter channel ever

  • @alvin3171997
    @alvin3171997 3 ปีที่แล้ว +2

    Finally someone that cover Flavors setup for firebase.
    Thank you sir!

  • @firgia
    @firgia 2 ปีที่แล้ว +2

    The best Flavors tutorial.
    Thanks 🤩

  • @so7300
    @so7300 3 ปีที่แล้ว +5

    Great! Love the production quality of your videos.

  • @rog0079
    @rog0079 3 ปีที่แล้ว +1

    Excitement of new video

  • @MarkOSullivan
    @MarkOSullivan 2 ปีที่แล้ว +1

    Thanks for featuring flutter_launcher_icons ❤️

  • @exonent
    @exonent 3 ปีที่แล้ว +2

    The king comes back! Like then play the video!

  • @DongNguyen-lu9ej
    @DongNguyen-lu9ej 2 ปีที่แล้ว +9

    Thanks you Marcus Ng for such a great tutorial. But i wonder how can we combine this with .env file that contained different api_url, api_key for each environment ?

  • @edycarreyes99
    @edycarreyes99 3 ปีที่แล้ว +2

    You're the best one! 🔥💪🏻

  • @hamzamateen7827
    @hamzamateen7827 ปีที่แล้ว

    This video is seriously a lifesaver. ❤

  • @LucaFang
    @LucaFang 3 ปีที่แล้ว +1

    This is super useful! Thanks for sharing!

  • @flutter_man
    @flutter_man ปีที่แล้ว

    Just a perfect tutorial, well done !

  • @vpsrihari
    @vpsrihari 3 ปีที่แล้ว

    this has always been a challenge for me. than you so much. can you also show more of production ready design patterns please.

  • @warunakaushalya4157
    @warunakaushalya4157 3 ปีที่แล้ว

    You're back after a long time 😍

  • @kirilllapshev
    @kirilllapshev 2 ปีที่แล้ว +1

    Thank you for this amazing tutorial, you saved me lot of time!

  • @tripplee11
    @tripplee11 3 ปีที่แล้ว +1

    Very useful tutorial! Thank you !

  • @petariliev1165
    @petariliev1165 2 ปีที่แล้ว

    Saved me a lot of trouble, very useful!

  • @АртурЗарипов-ю9п
    @АртурЗарипов-ю9п ปีที่แล้ว

    Good job! Thank you very much!

  • @binarnesia
    @binarnesia ปีที่แล้ว

    this will be very handy at my work

  • @lugardjulien5326
    @lugardjulien5326 3 ปีที่แล้ว

    exactly what I needed, thank you

  • @kevansaba3844
    @kevansaba3844 3 ปีที่แล้ว

    Amazing tutorial! Thanks!!

  • @diego2020e
    @diego2020e 2 ปีที่แล้ว +2

    Excellent video, could you make an updated one using firebase cli?

  • @MauricioTrinidad-m3h
    @MauricioTrinidad-m3h ปีที่แล้ว

    Thanks, beautiful video

  • @DraskoSaric
    @DraskoSaric 2 ปีที่แล้ว

    Great video tutorial, thank you! For some reasons I can't run this app on iOS simulator for production build? ANy idea why?

  • @philohan95
    @philohan95 3 ปีที่แล้ว +2

    How does the correct dart-defined flavor get used when app is built from xcode or android studio which will happen when uploading a build to the respective app stores?

  • @oluwaseunodunlade3285
    @oluwaseunodunlade3285 ปีที่แล้ว

    Thank you!!!!

  • @JKW3973
    @JKW3973 6 หลายเดือนก่อน +1

    Works Great

  • @itzsamplays7493
    @itzsamplays7493 3 ปีที่แล้ว +2

    Is this style inspired by fireship?

  • @keithbacalso9433
    @keithbacalso9433 5 หลายเดือนก่อน

    I dont get it why do we have to create 3 separate files for `main_dev, ,main_stg, main_prod`. If there is already a launch.json that can target one `main.dart` ???

  • @shilpavania4113
    @shilpavania4113 2 ปีที่แล้ว +2

    This video helped a lot and worked with android when i try to run in ios it gives me below error. can anybody help me with this.
    Error: Error when reading 'lib/main.dart': No such file or directory
    package:untitled/main.dart: Error: No 'main' method found.
    Try adding a method named 'main' to your program

    • @vishwajeetpatil9381
      @vishwajeetpatil9381 ปีที่แล้ว

      I am also facing the same issue.
      Do you find any solution?

  • @mustafayazlmc3973
    @mustafayazlmc3973 3 ปีที่แล้ว +1

    You the best dude

  • @jadenwatt1977
    @jadenwatt1977 9 หลายเดือนก่อน

    I'm getting an error when running the production build on my real device. It can't find a specific import which makes no sense. Could i have set things up wrong?

  • @jadenwatt1977
    @jadenwatt1977 10 หลายเดือนก่อน

    When I generate the .ipa file to upload to the App Store, how do I make sure the right environment is being pointed to

  • @safyianmughal3351
    @safyianmughal3351 3 ปีที่แล้ว

    great work

  • @burntleaves1178
    @burntleaves1178 3 ปีที่แล้ว

    Awesome work

  • @namanvaishnav6193
    @namanvaishnav6193 2 ปีที่แล้ว +1

    Exception: You must specify a --flavor option to select one of the available schemes.
    ^ I'm getting this exception , need help

    • @namanvaishnav6193
      @namanvaishnav6193 2 ปีที่แล้ว

      solved it , seems scheme name should match with flavor name in launch.json

  • @usernotfound5857
    @usernotfound5857 3 ปีที่แล้ว

    Hey Marcus, where are you from bro? Sounds like a Singapore/Malaysian accent.
    And btw, thanks for all your tutorials broski :D

  • @MegaMarte1992
    @MegaMarte1992 ปีที่แล้ว

    i have a ask to you, is possibel i have 2 differents folders android? and change in build wich one i will use?

  • @cameronarnold511
    @cameronarnold511 2 ปีที่แล้ว

    If we trying to create a Codemagic build, what do we specify in the Build arguments to build the specific flavor and main_*flavor*.dart file

  • @cptsakamoto
    @cptsakamoto 8 หลายเดือนก่อน

    How do we initialize Firebase.initializeApp with different firebase options files

  • @ahmadmaulana6938
    @ahmadmaulana6938 ปีที่แล้ว

    Thank you! I have a question, how to build apk with this configuration?

  • @sangaranaarayananr3134
    @sangaranaarayananr3134 11 หลายเดือนก่อน

    bro do i need to add flutter_flavors as a dependency?

  • @fille.imgnry
    @fille.imgnry 2 ปีที่แล้ว

    How do you use flavors when building for release? the --flavors command doesnt exist for flutter build.

  • @kasvith
    @kasvith ปีที่แล้ว

    Better than official docs

  • @vasugajjar2325
    @vasugajjar2325 3 ปีที่แล้ว

    U r back 🥳🥳

  • @stenlyrachmad3854
    @stenlyrachmad3854 ปีที่แล้ว

    please help this command is not recognized in my terminal
    flutter pub run flutter_launcher_icons:main -f flutter_launcher_icons*
    zsh: no matches found: flutter_launcher_icons*
    I have followed the video exactly the same

    • @TheMartaDias
      @TheMartaDias 8 หลายเดือนก่อน

      Did you add the package?

  • @soulreaver7802
    @soulreaver7802 3 ปีที่แล้ว

    What about the storage will it increase the app size

  • @MichaelMillerGR
    @MichaelMillerGR 2 ปีที่แล้ว

    You are my savior

  • @parthbhanderi6077
    @parthbhanderi6077 2 ปีที่แล้ว

    I followed the tutorial till the icons set up and when I ran the app by selecting development flavour I got the below error in my vs code terminal.
    Could not find an option named "flavour".
    Run 'flutter -h' (or 'flutter -h') for available flutter commands and options.
    Does anyone face this error??

    • @shei69
      @shei69 ปีที่แล้ว

      use dart-define instead

  • @KishanSavani-yu2bh
    @KishanSavani-yu2bh ปีที่แล้ว

    What to do when user tries to create archive from xCode and signed AAB from Android studio

  • @guzidev
    @guzidev ปีที่แล้ว

    Why ios app's name is showing "DevFlavorsExample" instead "Dev Flavors Example" ?
    Could someone helping me with that please?

    • @edwardphilipguarin6460
      @edwardphilipguarin6460 ปีที่แล้ว +1

      it states in the tutorial that if the characters is longer than 12, then it will remove all spaces

  • @piyushlimited
    @piyushlimited 2 ปีที่แล้ว

    How can I access Flavour to other files in app ?
    Suppose I want to write the code according to Condition if flavor == dev ? code : code
    So, how can I access the flavour ?
    Any idea ?

    • @sangaranaarayananr3134
      @sangaranaarayananr3134 11 หลายเดือนก่อน

      did you find any i have seen somthing like dart-define but it is like a normal variable

  •  2 ปีที่แล้ว +1

    Google almost never gets anything right for developers (except for Flutter, which is awesome). Flavours themselves are one of the exceptions, those work quite well, but Firebase... Why... Why can't I use different environments dynamically from code? Why do I have to decide compile time? I've read some things about Firebase which design decisions I believe to be the cause for this, but those are bad on their own too, and then they only limit you, and complicate your build process. A proper SDK is manually initialized by its user, and you can pass in whatever you want. With Firebase, you automatically get magic bs in your app, if, which doesn't fit you, it's super hard to turn off, and since you don't get to initialize Firebase from your executable code, you need to bundle its config as resources, complicating your whole setup. Shame on Google. It's just sooooooo bad.
    On the other hand, your video is a godsend, very useful resource to guide us through this hell.

  • @RizkyRamadhan-hu3of
    @RizkyRamadhan-hu3of 3 ปีที่แล้ว

    Hi dude, would you make a tutorial about BLoC state management? Thank you.

  • @thelazycomputer99
    @thelazycomputer99 2 ปีที่แล้ว

    i like the meme lol

  • @md.abdulhalimrafi9940
    @md.abdulhalimrafi9940 2 ปีที่แล้ว

    This is an asset

  • @battleGroundAce832
    @battleGroundAce832 2 ปีที่แล้ว

    Hi, I am getting an error while runnig A problem occurred evaluating project ':app'.
    > Could not find method flavorDimensions() for arguments [default] on project ':app' of type org.gradle.api.Project