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 - Наука та технологія
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.
Can you give me an example of how you would do it please?
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😀
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
Simplified as it says 👏 I really thank you a lot ❤️
Great Mr Bilal.keep making good content.deliverd to students as well working professionals....LU dear
Awesome lads keep it up like that
Thanks for explaining new concepts with such clarity :)
Thanks :)
You made it easy for us to integrate. Thanks a lot. Please start your own venture.
Thank You :)
Thank you. Good video!
Thankyou that was ready helpful.
you are perfect actually
Could it be possible to use the callbacks and still use the Resource class with it?
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
Yeah, I will do it soon. Thanks
Thanks so much for this tutorial.. I implemented this but using XMLs without a hitch.
how did you do that? im strugling trying to implement this =(
@@revn45 Since i cannot paste a link to a repository containing the code for this, how do I reach out to you?
Can you do the same for Phone Authentication
What was the purpose of creating a provideFireBaseAuth in the app module? I don't understand
I have a prediction that in the future soft soft is going to have a assistant like ozone 8 or sotNice tutorialng lol
So... how's it going?
A complete example using MVVM, Hilt, Coroutines, Room, Firebase would be interesting.
Sure
@@SimplifiedCoding yes sir. Please build tutorial movie app using mvvm, room, coroutines, hilt best practis⏏️👍👍🙏🙏
how to keep user logged in ???
far, and makes confident about using the DAW the first ti.
Please do a tutorial for GraphQL services
Sure
can u provide the github link ??
use your latest ktor restful api
Yeah will do it soon.
Results in Very Buggy App Flow Receivers are called many times even when there is no change
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.
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
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 🙏
Nothing understood me 😢
E!
on 11:19, Why don't you use Kotlin's built-in await function [import kotlinx.coroutines.tasks.await]?
I don’t think it is available for Firebase. Let me know if I am wrong 😄
@@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
I will try it, Thanks for the update I am pinning your comment.