Тёмный

Firebase | Auth State Listener 

Mafia Codes
Подписаться 44 тыс.
Просмотров 7 тыс.
50% 1

In this video we will be implementing #Firebase #AuthStateListener to listen for events when the user has signed in or logged out.
⭐ Kite is a free AI-powered coding assistant that will help you code faster and smarter. The Kite plugin integrates with all the top editors and IDEs to give you smart completions and documentation while you’re typing. I've been using Kite for 6 months and I love it! www.kite.com/g...
FREE $100 credit @Digital Ocean: m.do.co/c/3208...
Patreon: / trulymittal
Subscribe: www.youtube.co...
Completed Notes App: github.com/tru...
JWT(Json Web Token): jwt.io
Firebase Console: console.fireba...
Add Firebase to Project: firebase.googl...
Firebase UI: github.com/fir...
Dependencies:
Firebase Authentication: firebase.googl...
Firebase Firestore: firebase.googl...
FirebaseUI: github.com/fir...
Cloud Storage: firebase.googl...
#yoursTruly #FirebaseSDK #firestore #cloud-storage #tutorial #android
---------------
More useful videos
---------------
#RecyclerView: • Recycler View with com...
#ViewModel: • View Model | Live Data...
#NavigationComponent: • Navigation Component |...
#WorkManager: • Work Manager | Android...
#Retrofit: • RETROFIT Tutorial (v 2...
#CollapsingToolbar Layout: • Collapsing Toolbar Lay...
#BottomNavigation View: • Bottom Navigation View...
KeyframeAnimations: • Keyframe Animations wi...
NightMode: • Night Mode | Dark Mode...
ButterKnife: • Butter Knife | Field a...
SplashScreen: • Splash screen | Launch...
Singletons: • Singletons | What When...
Pull to Refresh in RecyclerView: • Pull to Refresh in Rec...
On item click using Interface in RecyclerView: • RecyclerView item Clic...
Swipe gestures in Recycler View: • Swipe gestures in Recy...
Drag and drop Reorder in Recycler View: • Drag and drop Reorder ...
Filter using SearchView in RecyclerView: • Filter RecyclerView us...
MultiView RecyclerView: • Multi view RecyclerVie...
---------------
What I use
---------------
Mouse: amzn.to/2O9RJtu
Keyboard: amzn.to/2qxajCU
Keyboard 2: amzn.to/2XDWH4X
Monitor: amzn.to/2pDg7dH
Processor: amzn.to/347WWIb
RAM: amzn.to/2QEkUqw
Graphics: amzn.to/33aBrF4
Microphone: amzn.to/2DabdI9
#yoursTRULY #tutorial #howto #android

Опубликовано:

 

26 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 24   
@corrector7405
@corrector7405 4 года назад
Oh man ! I'M SO GLAD TO HAVE FOUND YOUR VIDEO, THANKS A LOT ! I'm making an app but using Kotlin and it's been a big pain in my b*lls 'cause I didn't know why I was having an error when onAuthStateChanged sends Null, but I noticed that you had implemented the interface and overriden the method (it must be impemented), that was the error haha...but thank you very much ! Greetings from Mexico :D keep on coding !
@mafiacodes
@mafiacodes 4 года назад
Subscribe like share
@bekoe9340
@bekoe9340 3 года назад
Super Video, das hat wirklich super geholfen!
@mafiacodes
@mafiacodes 3 года назад
Danke, ich bin froh, dass es geholfen hat
@MrRahulmalik
@MrRahulmalik 5 лет назад
Great series! Also make a video on how to search for data in real time database using search button /view
@eondubz1416
@eondubz1416 4 года назад
Alhamdulillah THANKS A LOT sir....
@thomascole8216
@thomascole8216 4 года назад
Great Job mrTruly...:)
@mafiacodes
@mafiacodes 4 года назад
Lol, where did u get it?
@h3w45
@h3w45 4 года назад
great video.
@mafiacodes
@mafiacodes 4 года назад
Subscribe like share😊
@temancoding2553
@temancoding2553 3 года назад
thanks..u👍👍👍👍
@preetibasil682
@preetibasil682 3 года назад
Kindly also guide , how to ensure that a user is logged in on one device only in auth state listener
@mafiacodes
@mafiacodes 3 года назад
need to check the docs
@preetibasil682
@preetibasil682 3 года назад
@@mafiacodes Really looking forward to it
@dipanjanmwb
@dipanjanmwb 4 года назад
Great. I love ur videos because everytime u give updated methods. One problem here. During sign in I found that after clicking login register button when I hit the any of the Firebase AuthUI sign in methods the login page was coming in a blink and then the main activity page came. What to do?
@mafiacodes
@mafiacodes 4 года назад
Hmm can’t say without looking at the code, u can compare with my repo on github
@dipanjanmwb
@dipanjanmwb 4 года назад
@@mafiacodes Finally the problem has been solved. I have tried it myself. I have converted all the activities into Fragments and it is working fine for me.
@mohamedayad70
@mohamedayad70 3 года назад
does it work without using the AuthUi ?
@mafiacodes
@mafiacodes 3 года назад
Yeah u can use it without authui
@davidscammell9823
@davidscammell9823 4 года назад
Great video, thank you for this. One question - would you use the same code in all other activities? If so, do you have to stop the last listener before the next activity creates a new one? Thanks again. David
@mafiacodes
@mafiacodes 4 года назад
Yes u have to stop the listener, otherwise it will fire multiple times and U’ll have a memory leak.
@davidscammell9823
@davidscammell9823 4 года назад
@@mafiacodes Thanks for the quick response! Cheers!
@davidscammell9823
@davidscammell9823 4 года назад
@@mafiacodes Sorry - another question (you may think is a simple one!) - how can you check for a login attempt event?.. At the moment, I can't see how to listen for a failed attempt (so UI just looks unresponsive!). Thanks in advance!!
@mafiacodes
@mafiacodes 4 года назад
I guess that’s automatically handled by the firebase ui, if ur not implementing that manually, correct me if I am wrong.
Далее
Firebase | Google Sign In | Authentication
6:50
Просмотров 65 тыс.
Firebase Firestore | Security Rules
23:14
Просмотров 17 тыс.
+1000 Aura For This Save! 🥵
00:19
Просмотров 5 млн
Свожу все свои тату (abricoss_a_tyt)
00:35
Firestore | Reading documents
14:35
Просмотров 10 тыс.
Firebase | Phone Authentication
5:19
Просмотров 39 тыс.
Firestore | Updating a document | UPDATE and SET
16:30
Being Competent With Coding Is More Fun
11:13
Просмотров 78 тыс.