This series is awesome. No wasted time, everything makes sense and your teaching style is so clear and free from conversational interjections or information overload that clouds the learning process in other tutorials, just the nuts and bolts of what we're doing. It makes it so easy to follow along. Thanks for putting this out there. This is honestly better than paid courses that people have put together. Are you considering doing another series focusing on building a functional app that uses say, the camera for a specific purpose in a "tool" oriented way?
Thanks for the comment, warms my heart 🥰 I have a running google doc filled with video/series ideas, so I will definitely put the camera idea on there.
@@RahulPandeyrkp Awesome, keep up the great the work, I'm learning a lot from this course. This is just based on my own interests... but if you ever got around to building a camera app that had some metering capability like false color for exposure or maybe exploring some sort of AR functionality. Anything in that world... would be amazing
Akshay, you'll need to define the TAG string in the file. For example, at 7:04, I'm defining private const val TAG = "LoginActivity" on line 9. Do you have that?
@@akshaykh007 thanks will keep that in mind. For some things, I purposefully gloss over details if they're not relevant to the topic at hand, but I can re-think how often I do that!
i think you missed a usecase, like if user pressed login button without entering username or password, the button gets disabled and user cannot press it anymore to login
@@RahulPandeyrkp Hello Rahul, thank you for the video. Where can I find how to fix "authentication failed"? my app 100% on console, but every time I put email and password I saved in Firebase, I get toast: "authentication failed". I tried to look up InstaFire on your GitHub but I wasn't able to open it. (as you can tell I am very new in Kotlin). Thank you
@@nadiamagazine8169 can you open up logcat and see what the exact error is? Can you ensure you have the internet permission? Create a new user in the firestore database and try again.
if you get error with "btnLogin.setOnClickListener{ }" add " id 'kotlin-android-extensions' " to build.gradle(Moule...) as the follows plugins { id 'com.android.application' id 'kotlin-android' id 'kotlin-android-extensions' }
thank you for sharing. If you don't want to include the extension, you can also find views by their ID, similar to this: gist.github.com/rpandey1234/db657164671e7168e773d158fdd2c4fc
Sorry! Adding " id 'kotlin-android-extensions' " is not a good idea, because The 'kotlin-android-extensions' Gradle plugin is deprecated. Please use this migration guide (goo.gle/kotlin-android-extensions-deprecation) to start working with View Binding (developer.android.com/topic/libraries/view-binding) and the 'kotlin-parcelize' plugin.
I'm getting error While I type btnlogin of the beginning step it turns into red. Any widget of XML code when I write it in mainactivity it turn red. Into error How do I correct it
That's due a change in recent versions of Android Studio, the easy fix is to use findViewById on the view. Details here: ua-cam.com/video/tiI5T17AD54/v-deo.html
Firebase authentication menu won't show me "email and password authentication" but 6 other options such as "authenticate using google sign in" or "custom auth system". Which one should I choose to be able to follow the tutorial?
I've shared a link but seems like youtube deletes it. If you google "email and password authentication doesn't show android studio" and go to pictures tab you can see it. As far as i've read i should choose custom auth and afterwards enable email login from firebase console.. what do you think?
It is throwing an exception: 2021-02-17 23:13:35.139 0-0/? E/[ T1] init: Control message: Could not find 'android.hardware.media.omx@1.0::IOmxStore/default' for ctl.interface_start from pid: 165 (/system/bin/hwservicemanager) please help Rahul Sir!
FirebaseAuth.getInstance().signOut() method doesn't work. Every time I try to sign out, I go back to PostsActivity because FirebaseAuth.getinstance() is not null.
Episode 4: ua-cam.com/video/rAe2YVIXw4Y/v-deo.html
loved it ,i was trying to find a good ttutorial series but tthey didnt click but yourss is the first where i started making a real app
This series is awesome. No wasted time, everything makes sense and your teaching style is so clear and free from conversational interjections or information overload that clouds the learning process in other tutorials, just the nuts and bolts of what we're doing. It makes it so easy to follow along. Thanks for putting this out there. This is honestly better than paid courses that people have put together.
Are you considering doing another series focusing on building a functional app that uses say, the camera for a specific purpose in a "tool" oriented way?
Thanks for the comment, warms my heart 🥰 I have a running google doc filled with video/series ideas, so I will definitely put the camera idea on there.
@@RahulPandeyrkp Awesome, keep up the great the work, I'm learning a lot from this course.
This is just based on my own interests... but if you ever got around to building a camera app that had some metering capability like false color for exposure or maybe exploring some sort of AR functionality. Anything in that world... would be amazing
I'm the first to like this video. Keep it up @Rahul!
Thanks Viet! So fast 😊
Love you bro
You too ❣️
wonderful explanation..
thank you!
Very helpful
Glad to hear that
Hey Rahul!
Cannot access 'TAG': it is invisible (private in a supertype) in 'AppCompatActivity'
How do i solve this error
Akshay, you'll need to define the TAG string in the file. For example, at 7:04, I'm defining private const val TAG = "LoginActivity" on line 9. Do you have that?
@@RahulPandeyrkp Thanks !! I really like your videos but a little more explanation of some of the functions u call would be helpful
Like Inflator.inflate(), and many others so we dont have to switch to documentation very often
@@akshaykh007 thanks will keep that in mind. For some things, I purposefully gloss over details if they're not relevant to the topic at hand, but I can re-think how often I do that!
only wish you had slowed down a little during the layout section! otherwise great so far
Thanks Shoumik for the feedback- I'll keep that in mind for the future!
i think you missed a usecase, like if user pressed login button without entering username or password, the button gets disabled and user cannot press it anymore to login
Great point, this is a bug in my initial implementation. I have a fix in the GitHub repo 😅 thank you for pointing this out
Thank you, for responding
@@RahulPandeyrkp Hello Rahul, thank you for the video. Where can I find how to fix "authentication failed"? my app 100% on console, but every time I put email and password I saved in Firebase, I get toast: "authentication failed". I tried to look up InstaFire on your GitHub but I wasn't able to open it. (as you can tell I am very new in Kotlin). Thank you
@@nadiamagazine8169 can you open up logcat and see what the exact error is? Can you ensure you have the internet permission? Create a new user in the firestore database and try again.
@@RahulPandeyrkp Thank you so much for your response! I have Internet permission, I tried to create a new user and run app again, the same result. My logcat looks like this:
2021-06-28 10:06:33.374 6893-6893/? E/Zygote: v2
2021-06-28 10:06:09.764 1634-1634/? D/WallpaperService: updateSurface:[forceRelayout]false[redrawNeeded]false
2021-06-28 10:06:33.374 6893-6893/? E/Zygote: accessInfo : 0
2021-06-28 10:06:33.374 6893-6893/? E/Zygote: v2
2021-06-28 10:06:33.374 6893-6893/? E/Zygote: v2
2021-06-28 10:06:33.374 6893-6893/? E/Zygote: accessInfo : 0
2021-06-28 10:06:34.134 6893-6942/com.example E/libGLESv2: HWUI Protection: wrong call from hwui context F: ES3-glCreateProgramSEC
2021-06-28 10:06:34.144 6893-6942/com.example E/libGLESv2: HWUI Protection: wrong call from hwui context F: ES3-glCreateProgramSEC
2021-06-28 10:06:34.144 6893-6942/com.example E/libGLESv2: HWUI Protection: wrong call from hwui context F: ES3-glCreateProgramSEC
2021-06-28 10:06:34.144 6893-6942/com.example E/libGLESv2: HWUI Protection: wrong call from hwui context F: ES3-glCreateProgramSEC
2021-06-28 10:06:34.144 6893-6942/com.example E/libGLESv2: HWUI Protection: wrong call from hwui context F: ES3-glCreateProgramSEC
2021-06-28 10:06:34.144 6893-6942/com.example E/libGLESv2: HWUI Protection: wrong call from hwui context F: ES3-glCreateProgramSEC
2021-06-28 10:06:34.144 6893-6942/com.example E/libGLESv2: HWUI Protection: wrong call from hwui context F: ES3-glCreateProgramSEC
2021-06-28 10:06:34.154 6893-6942/com.example E/libGLESv2: HWUI Protection: wrong call from hwui context F: ES3-glCreateProgramSEC
2021-06-28 10:06:34.154 6893-6942/com.example E/libGLESv2: HWUI Protection: wrong call from hwui context F: ES3-glCreateProgramSEC
I researched the errors for few days but couldn't find solution. Thank you so much for your time Rahul!
if you get error with "btnLogin.setOnClickListener{
}"
add " id 'kotlin-android-extensions'
" to build.gradle(Moule...) as the follows
plugins {
id 'com.android.application'
id 'kotlin-android'
id 'kotlin-android-extensions'
}
thank you for sharing. If you don't want to include the extension, you can also find views by their ID, similar to this: gist.github.com/rpandey1234/db657164671e7168e773d158fdd2c4fc
Sorry! Adding " id 'kotlin-android-extensions'
" is not a good idea, because
The 'kotlin-android-extensions' Gradle plugin is deprecated. Please use this migration guide (goo.gle/kotlin-android-extensions-deprecation) to start working with View Binding (developer.android.com/topic/libraries/view-binding) and the 'kotlin-parcelize' plugin.
Please making continue till final end
I promise I'll have the whole series released in less than a week :)
@@RahulPandeyrkp thanks
@@manrahulbajwa The last video is out :)
@@RahulPandeyrkp ya ya bro i seen it
I'm getting error
While I type btnlogin of the beginning step it turns into red.
Any widget of XML code when I write it in mainactivity it turn red. Into error
How do I correct it
That's due a change in recent versions of Android Studio, the easy fix is to use findViewById on the view. Details here: ua-cam.com/video/tiI5T17AD54/v-deo.html
@@RahulPandeyrkp I have updated version of Android. I still have that error. Any widget form XML code when written in mainactivity isnt imported
@@Srishtiiiiiiiiiii the upgrade of Android Studio is what broke, you should migrate to findViewById or use view binding
Sir I am a big fan of you ,I watched recent memory game,I played please make a series of instafire with profile setup please sir ,I want to buy also
I'll add it to my list! In the meantime, you can watch the EmojiStatus series which shows user sign-up.
link: ua-cam.com/play/PL7NYbSE8uaBB43Ga7Yi-Vzy0ctEzTgxT5.html
Ok sir thanks Please make that series as fast as possible ,sorry sir for demanding you ,yours respecteddly sai
I am the second to watch😜😅
Thanks Kishore- love your speed :)
Firebase authentication menu won't show me "email and password authentication" but 6 other options such as "authenticate using google sign in" or "custom auth system". Which one should I choose to be able to follow the tutorial?
Could you share a screenshot? When I go to the firebase authentication web UI, I do see an option for email password sign in
I've shared a link but seems like youtube deletes it. If you google "email and password authentication doesn't show android studio" and go to pictures tab you can see it. As far as i've read i should choose custom auth and afterwards enable email login from firebase console.. what do you think?
It is throwing an exception: 2021-02-17 23:13:35.139 0-0/? E/[ T1] init: Control message: Could not find 'android.hardware.media.omx@1.0::IOmxStore/default' for ctl.interface_start from pid: 165 (/system/bin/hwservicemanager)
please help Rahul Sir!
This doesn't appear related to the code- can you try using a different phone or emulator?
@@RahulPandeyrkp Sir I will try to...I hv a M1 Mac...So normal Android Studio emulators do not work...BTW, thank you for your quick reply
what about sign up ??
I don't cover it on this series, but it's actually very easy to do in the LoginActivity just by adding a button to sign up
Just a fresher here to see how "PRO DEVELOPER " codes 😅😶
haha, hope it's is informative :)
FirebaseAuth.getInstance().signOut() method doesn't work. Every time I try to sign out, I go back to PostsActivity because
FirebaseAuth.getinstance() is not null.
Isn't it good that it's non-null? Is the issue with the navigation, or that the user is not successfully signed out?