Firebase Authentication using MVVM with Hilt and Coroutines

Поділитися
Вставка
  • Опубліковано 2 вер 2022
  • Welcome another course, in this video we will learn about Firebase Authentication using MVVM with Hilt and Coroutines.
    I've already covered Firebase Authentication, but this time this project is built using Jetpack Compose, Flow, Coroutines and Hilt. So here you will understand the best practice of using Firebase Authentication using the recommended app architecture.
    This is the first video, and in coming videos we will cover more from Firebase.
    For the source code of this project visit this link:
    👉 www.simplifiedcoding.net/fire...
    In this course I've used the following things
    👉 Jetpack Compose. • Jetpack Compose Crash ...
    👉 Dependency Injection. • Android Dependency Inj...
    👉 Compose Navigation. • Jetpack Compose Naviga...
    👉 Kotlin Coroutines • #1 Kotlin Coroutines T...
    Finally, If you love my content please SHARE my courses with your friends. You can share this course on your Facebook, WhatsApp, etc.
    For more content related to Software Development visit my website.
    👉 www.simplifiedcoding.net
    You can SUPPORT me if you want
    👉 Patreon: / belalkhan
    👉 UPI (India Only): probelalkhan@okaxis
    👉 PayTM (India Only): +917549161079
    👉 PayPal: www.paypal.me/probelalkhan
    You can also check some of my other courses from these links
    👉 Dart Programming Tutorial: bit.ly/2S8y0Pu
    👉 Kotlin Programming Tutorial: bit.ly/2Q2puRm
    👉 Android MVVM Tutorial: bit.ly/3iLfVzu
    👉 Android Game Development Tutorial: bit.ly/38JmltC
    👉 Retrofit Android Tutorial: bit.ly/2DEwAl1
    👉 Android RecyclerView Tutorial: bit.ly/2TqVjPz
    👉 Android Room Tutorial: bit.ly/2PfQHeN
    👉 Firebase Auth Tutorial: bit.ly/2WUGhEo
    👉 Android Notification Tutorial: bit.ly/2Sc6jQl
    👉 Building a Complete Wallpaper App: bit.ly/30UN8zV
    👉 Build Tic Tac Toe in Android: bit.ly/30goxW0
    ❤️❤️ Thank You All for the Love and Support ❤️❤️
    #firebaseauth
    #firebaseandroid
    #firebase
  • Наука та технологія

КОМЕНТАРІ • 44

  • @pranjalraj3665
    @pranjalraj3665 4 місяці тому +3

    In the video at 36:05 when you switch to signup screen, it can be seen there's a persistent toast there. Because your Resources.Failure value of loginflow is called 3 three times. To fix this you need to use repeatOnLifecycle Api. Put you when code inside a repeatOnLifecycle block inside a Coroutine scope.

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

      Can you give me an example of how you would do it please?

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

    Thank you very much, for two days I could not figure out how to implement registration with mvvm, but after watching your video, everything became clear even though I did not use JetPackSompose😀

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

    The Best Explanation !!! I referred to many videos , but out of all tNice tutorials was the best I could find among all .... Also got to know many tNice tutorialngs

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

    Simplified as it says 👏 I really thank you a lot ❤️

  • @aliimam7495
    @aliimam7495 Рік тому +1

    Great Mr Bilal.keep making good content.deliverd to students as well working professionals....LU dear

  • @John-qt6qk
    @John-qt6qk Рік тому

    Awesome lads keep it up like that

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

    Thanks for explaining new concepts with such clarity :)

  • @saurabhtripathi8607
    @saurabhtripathi8607 Рік тому +4

    You made it easy for us to integrate. Thanks a lot. Please start your own venture.

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

    Thank you. Good video!

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

    Thankyou that was ready helpful.

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

    you are perfect actually

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

    Could it be possible to use the callbacks and still use the Resource class with it?

  • @digitalluxury2033
    @digitalluxury2033 Рік тому +1

    thanks for your videos >>>>>>>>> I hope you continue the android part for the Ktor API + JetPack Courses which was very very advanced and amazing to follow

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

    Thanks so much for this tutorial.. I implemented this but using XMLs without a hitch.

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

      how did you do that? im strugling trying to implement this =(

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

      ​@@revn45 Since i cannot paste a link to a repository containing the code for this, how do I reach out to you?

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

    Can you do the same for Phone Authentication

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

    What was the purpose of creating a provideFireBaseAuth in the app module? I don't understand

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

    I have a prediction that in the future soft soft is going to have a assistant like ozone 8 or sotNice tutorialng lol

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

    So... how's it going?

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

    A complete example using MVVM, Hilt, Coroutines, Room, Firebase would be interesting.

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

      Sure

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

      @@SimplifiedCoding yes sir. Please build tutorial movie app using mvvm, room, coroutines, hilt best practis⏏️👍👍🙏🙏

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

    how to keep user logged in ???

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

    far, and makes confident about using the DAW the first ti.

  • @franklinjoney7941
    @franklinjoney7941 Рік тому +1

    Please do a tutorial for GraphQL services

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

    can u provide the github link ??

  • @kuyangora1221
    @kuyangora1221 Рік тому +1

    use your latest ktor restful api

  • @pranjalraj3665
    @pranjalraj3665 4 місяці тому +1

    Results in Very Buggy App Flow Receivers are called many times even when there is no change

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

      please provide a detailed description of the issue, steps to reproduce it, and if possible, share a screen recording link to help better understand the problem.

    • @pranjalraj3665
      @pranjalraj3665 4 місяці тому +1

      Appreciate the quick response. As you can see in the video at 36:05 when you switch to signup screen, it can be seen there's a persistent toast there. Because your Resources.Failure value of loginflow is called 3 three times. To fix this you need to use repeatOnLifecycle Api. Apologies for the rude comment

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

      If you knew the solution then it is better to comment the solution to help other fellow devs. You can comment the issue and solution and I will pin it in the comments to help others. Thanks 🙏

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

    Nothing understood me 😢

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

    E!

  • @HappyLeoul
    @HappyLeoul Рік тому +4

    on 11:19, Why don't you use Kotlin's built-in await function [import kotlinx.coroutines.tasks.await]?

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

      I don’t think it is available for Firebase. Let me know if I am wrong 😄

    • @HappyLeoul
      @HappyLeoul Рік тому +4

      @@SimplifiedCoding It's available for Firebase.
      Import it: import kotlinx.coroutines.tasks.await
      then simply do: firebasAuth.signInWithEmailAndPassword(email, password).await()
      Thank you for the content btw

    • @SimplifiedCoding
      @SimplifiedCoding  Рік тому +4

      I will try it, Thanks for the update I am pinning your comment.