How to Setup Firebase in Flutter | Firebase CLI | Flutter Firebase

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

КОМЕНТАРІ • 78

  • @CodingwithT
    @CodingwithT  10 місяців тому +9

    GENERATE SHA-1 & SHA-256
    ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    Mac keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android
    Windows keytool -list -v -keystore "\.android\debug.keystore" -alias androiddebugkey -storepass android -keypass android
    Linux keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android

    • @whom4485
      @whom4485 4 місяці тому +2

      was working i had to downgrade my android version and use gradle to retrieve the Sha keys

    • @techlife7823
      @techlife7823 4 дні тому

      Example for windows
      keytool -list -v -keystore "C:\Users\Your PC Name\.android\debug.keystore" -alias androiddebugkey -storepass android -keypass android

  • @saurabhchauhan4516
    @saurabhchauhan4516 10 місяців тому +5

    Thanks brother for explaining each step with expected errors along with their solution while setting up firebase for flutter project.
    You're are a saviour for me once again thank you. 👍

    • @CodingwithT
      @CodingwithT  10 місяців тому

      I am glad to be helpful 🎊✌️

  • @hcrnn7518
    @hcrnn7518 9 місяців тому +3

    Best flutter tutorial on youtube..Love it

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

      Thank you for your love and support ♥️

  • @رمضانكريم-ض2ث
    @رمضانكريم-ض2ث 10 місяців тому +1

    Thank you very much for your great effort my dear brother. I ask God to reward you well for this effort ..... You are the best.

    • @CodingwithT
      @CodingwithT  10 місяців тому

      So nice of you ❤️. Thank you for your kind words 🙏

  • @simmiroy9188
    @simmiroy9188 7 місяців тому

    You solved the major problem in the app thank you so much

    • @CodingwithT
      @CodingwithT  7 місяців тому

      You're very welcome! I'm glad I could help you solve the major problem in your app.

  • @noxtube7937
    @noxtube7937 6 місяців тому

    Thank you for this usful tutorial, you help me to create my first firebase data

    • @CodingwithT
      @CodingwithT  6 місяців тому

      You're welcome! I'm glad the tutorial was helpful for you in creating your first Firebase data. If you have any more questions or need further assistance with Firebase or anything else, feel free to ask!

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

    Great video. Super helpful!

    • @CodingwithT
      @CodingwithT  2 місяці тому

      Thank you! I'm glad you found the video helpful! 😊

  • @bill__j
    @bill__j 5 місяців тому

    Hi Leader, Great Video ever !! thank you so much

  • @neelamjain7732
    @neelamjain7732 6 місяців тому

    Awesome Job... Thanks!

  • @tabassam-ali
    @tabassam-ali 10 місяців тому

    Thank you very much, you have set it up very well. ❤

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

    what an amazing explanation bro.. Thanks again :) T

  • @CodeEasy11
    @CodeEasy11 Місяць тому

    In last when you refresh it by running command flutterfire configure, it shows An error occurred on the Firebase CLI when attempting to run a command

  • @khabibali4967
    @khabibali4967 5 місяців тому

    Walikum Salam Sir. Sir I installed Fire-Store through cli now when I try to enable the Fire-Sotre database it asks me to enable the payment option what I do because before this it directed me fire-store database without payment options.

  • @AsholProperty
    @AsholProperty 10 місяців тому

    you saved me man

    • @CodingwithT
      @CodingwithT  10 місяців тому

      I'm glad it's helpful 😁

  • @manohar.acharya
    @manohar.acharya 10 місяців тому +1

    what state management is used in this project?

    • @CodingwithT
      @CodingwithT  10 місяців тому +1

      Currently we are going to use Getx and later on I might also create the same Backend using other state managements

  • @CodeEasy11
    @CodeEasy11 Місяць тому

    For SHA 1 key I am not getting any Android app in project settings

    • @CodingwithT
      @CodingwithT  Місяць тому

      If you're not seeing your Android app in Firebase, ensure it's connected. Run flutterfire configure in your terminal to link your Flutter app to Firebase.

  • @chewlsyy
    @chewlsyy 4 місяці тому

    Hi, i encountered problem on this section. I code on Android Studio connected to Git. Is it normal for my firebase_options.dart and firebase.json file to be highlighted/lined red? For context, I already add the firebase_core into dependencies as well as commit and push both files to Git.
    Also I notice yours doesn't have firebase.json file. In my case, it was added directly under my root project (same directory as pusbec.yaml etc) during 9:40 step.
    Update: solved the issue by disconnecting with git

  • @muhammadmajid2178
    @muhammadmajid2178 10 місяців тому

    Thank you

  • @AINULMARDHIYYAHBINTIZAMZURI
    @AINULMARDHIYYAHBINTIZAMZURI 5 місяців тому

    Hello sir, the last step you show run command flutterfire configure. Why it said i need to download cli again although I do it in the right way

    • @CodingwithT
      @CodingwithT  5 місяців тому +1

      Please make sure you're running the command in the correct directory where your Flutter project is located. If you continue to face issues, I recommend following the steps again. May be you missed something.
      If you encounter the same problem you can contact me on WhatsApp.

  • @dragonthis7948
    @dragonthis7948 8 місяців тому

    does the test mode on firebase means after 30 days i will need to create a new database?

    • @CodingwithT
      @CodingwithT  8 місяців тому

      You just have to modify the rules of that database.

  • @zulfiqaralihunzai
    @zulfiqaralihunzai 8 місяців тому

    Showing error during the android terminal command hit
    keytool : The term 'keytool' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a
    path was included, verify that the path is correct and try again.

    • @CodingwithT
      @CodingwithT  8 місяців тому +1

      check your environment variable. if your issue persists contact us on whatsapp

    • @krishnakumar-sy1gk
      @krishnakumar-sy1gk 5 місяців тому

      bro did uh found out the error?

    • @zulfiqaralihunzai
      @zulfiqaralihunzai 5 місяців тому

      @@krishnakumar-sy1gk yes set your envirnoment variables

  • @jackchang9006
    @jackchang9006 4 місяці тому

    In 10:24, the null safety problem happen to me, it says that my dart sdk is 2.9.0 and the version must >=2.12.0-0

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

      Create a new project and that will be created depending on your SDK

  • @Liuyap
    @Liuyap 7 місяців тому

    why provisioning cloud firestore takes a long time?

    • @CodingwithT
      @CodingwithT  6 місяців тому

      Provisioning Cloud Firestore can take time due to various factors such as resource allocation, configuration, network latency and backend operations.

  • @Zun_AiraRamzan
    @Zun_AiraRamzan 7 місяців тому

    npm install -g firebase-tools
    'npm' is not recognized as an internal or external command,
    operable program or batch file.

    • @CodingwithT
      @CodingwithT  7 місяців тому

      Have you installed the Node.js

  • @ahmedmunir5200
    @ahmedmunir5200 7 місяців тому

    key store file does not exist in the .android folder what should I do now?

    • @CodingwithT
      @CodingwithT  7 місяців тому

      If you can't locate the keystore file, you may need to regenerate it. You can do this using the keytool command-line utility provided by the Java Development Kit (JDK). Make sure to securely store the new keystore file and its credentials.

  • @kaanbircan1815
    @kaanbircan1815 4 місяці тому

    When I run firebase login, I get cannot be loaded because scripts are disabled error

    • @ammartalal1239
      @ammartalal1239 4 місяці тому

      You need to run this command first "Set-ExecutionPolicy RemoteSigned" the you will be able to run the firebase command

  • @MaureenNshimiyimana
    @MaureenNshimiyimana 6 місяців тому

    keytool is not recognized as an internal or external command

    • @CodingwithT
      @CodingwithT  6 місяців тому

      Please check the directory of terminal and also if there is any $ sign remove it.
      Also check Env Variables

  • @foodworld216
    @foodworld216 10 місяців тому

    flutterfire configure
    'flutterfire' is not recognized as an internal or external command,
    operable program or batch file.

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

      Please check your environment variables and do the restart

    • @tomasdelfinageronimo927
      @tomasdelfinageronimo927 6 місяців тому

      I have the same problem, how can i do that @@CodingwithT

  • @RohanKamble-tt2de
    @RohanKamble-tt2de 3 місяці тому

    10.57
    i dont get it

  • @djamamockejoel159
    @djamamockejoel159 4 місяці тому

    i am unable to see my project on Firebase. any help

  • @mo-awny
    @mo-awny 23 дні тому

    i got this error
    keytool error: java.io.IOException: Invalid keystore format

    • @CodingwithT
      @CodingwithT  4 дні тому

      To create a keystore on Windows, you can use the following command: keytool -list -v -keystore "C:\Users\Your PC Name\.android\debug.keystore" -alias androiddebugkey -storepass android -keypass android
      Let me know if you have any other questions!

  • @RehmanJutt-zo4eg
    @RehmanJutt-zo4eg 3 місяці тому +2

    any one show this error plss folow this stups..
    go to envarment veriable and user variable and go path and add your java path for ex this was me
    and restart your id
    keytool : The term 'keytool' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is
    correct and try again.

    • @fro9ylo9
      @fro9ylo9 3 місяці тому +1

      for me i had to add my android studio bin path i don't know why

  • @innovators2777
    @innovators2777 6 місяців тому

    Hello sir, I am getting an error, while getting an SHA-1 & SHA-256, keytool -list -v -keystore "C:\Users\mohammad\.android\debug.keystore" -al
    ias androiddebugkey -storepass android -keypass android
    keytool error: java.io.IOException: Integrity check failed: java.security.NoSuchAlgorithmException: Algorithm HmacPBESHA256 not available
    java.io.IOException: Integrity check failed: java.security.NoSuchAlgorithmException: Algorithm HmacPBESHA256 not available,

    • @CodingwithT
      @CodingwithT  6 місяців тому +1

      Hi,
      The error message indicates that there is an issue with the algorithm HmacPBESHA256 not being available. This could be due to various reasons, such as an outdated version of Java or a misconfiguration in your Java environment.

    • @innovators2777
      @innovators2777 6 місяців тому

      @@CodingwithT thanks but I found solution.

  • @godkingus
    @godkingus 10 місяців тому +1

    here, here, here. 27 minutes left :v

    • @CodingwithT
      @CodingwithT  10 місяців тому

      So nice of you 😊💕