InstaFire Ep 3: Login with Firebase Auth- Simple Android Instagram Clone with Firebase in Kotlin

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

КОМЕНТАРІ • 65

  • @RahulPandeyrkp
    @RahulPandeyrkp  4 роки тому +5

    Episode 4: ua-cam.com/video/rAe2YVIXw4Y/v-deo.html

  • @ranguy6507
    @ranguy6507 3 роки тому

    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

  • @neontetrafilms4769
    @neontetrafilms4769 3 роки тому +1

    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?

    • @RahulPandeyrkp
      @RahulPandeyrkp  3 роки тому +2

      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.

    • @neontetrafilms4769
      @neontetrafilms4769 3 роки тому +1

      @@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

  • @vmanshooting
    @vmanshooting 4 роки тому +1

    I'm the first to like this video. Keep it up @Rahul!

  • @faisalnaseer798
    @faisalnaseer798 4 роки тому +2

    Love you bro

  • @EhteshamAnsariRahman
    @EhteshamAnsariRahman 3 роки тому

    wonderful explanation..

  • @Srishtiiiiiiiiiii
    @Srishtiiiiiiiiiii 3 роки тому

    Very helpful

  • @akshaykh007
    @akshaykh007 3 роки тому +3

    Hey Rahul!
    Cannot access 'TAG': it is invisible (private in a supertype) in 'AppCompatActivity'
    How do i solve this error

    • @RahulPandeyrkp
      @RahulPandeyrkp  3 роки тому +1

      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
      @akshaykh007 3 роки тому

      @@RahulPandeyrkp Thanks !! I really like your videos but a little more explanation of some of the functions u call would be helpful

    • @akshaykh007
      @akshaykh007 3 роки тому +1

      Like Inflator.inflate(), and many others so we dont have to switch to documentation very often

    • @RahulPandeyrkp
      @RahulPandeyrkp  3 роки тому

      @@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!

  • @shoumikpennathur1790
    @shoumikpennathur1790 4 роки тому +1

    only wish you had slowed down a little during the layout section! otherwise great so far

    • @RahulPandeyrkp
      @RahulPandeyrkp  4 роки тому +2

      Thanks Shoumik for the feedback- I'll keep that in mind for the future!

  • @mubeenrizvi256
    @mubeenrizvi256 3 роки тому +2

    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
      @RahulPandeyrkp  3 роки тому +1

      Great point, this is a bug in my initial implementation. I have a fix in the GitHub repo 😅 thank you for pointing this out

    • @mubeenrizvi256
      @mubeenrizvi256 3 роки тому

      Thank you, for responding

    • @nadiamagazine8169
      @nadiamagazine8169 3 роки тому

      @@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

    • @RahulPandeyrkp
      @RahulPandeyrkp  3 роки тому

      @@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.

    • @nadiamagazine8169
      @nadiamagazine8169 3 роки тому

      @@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!

  • @yongtaihuang3611
    @yongtaihuang3611 3 роки тому +2

    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'
    }

    • @RahulPandeyrkp
      @RahulPandeyrkp  3 роки тому +1

      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

    • @yongtaihuang3611
      @yongtaihuang3611 3 роки тому

      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.

  • @manrahulbajwa
    @manrahulbajwa 4 роки тому +1

    Please making continue till final end

    • @RahulPandeyrkp
      @RahulPandeyrkp  4 роки тому +1

      I promise I'll have the whole series released in less than a week :)

    • @manrahulbajwa
      @manrahulbajwa 4 роки тому

      @@RahulPandeyrkp thanks

    • @RahulPandeyrkp
      @RahulPandeyrkp  4 роки тому +1

      @@manrahulbajwa The last video is out :)

    • @manrahulbajwa
      @manrahulbajwa 4 роки тому

      @@RahulPandeyrkp ya ya bro i seen it

  • @Srishtiiiiiiiiiii
    @Srishtiiiiiiiiiii 3 роки тому +1

    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

    • @RahulPandeyrkp
      @RahulPandeyrkp  3 роки тому +1

      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

    • @Srishtiiiiiiiiiii
      @Srishtiiiiiiiiiii 3 роки тому

      @@RahulPandeyrkp I have updated version of Android. I still have that error. Any widget form XML code when written in mainactivity isnt imported

    • @RahulPandeyrkp
      @RahulPandeyrkp  3 роки тому +1

      @@Srishtiiiiiiiiiii the upgrade of Android Studio is what broke, you should migrate to findViewById or use view binding

  • @rvscottage7939
    @rvscottage7939 3 роки тому

    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

    • @RahulPandeyrkp
      @RahulPandeyrkp  3 роки тому

      I'll add it to my list! In the meantime, you can watch the EmojiStatus series which shows user sign-up.

    • @RahulPandeyrkp
      @RahulPandeyrkp  3 роки тому +1

      link: ua-cam.com/play/PL7NYbSE8uaBB43Ga7Yi-Vzy0ctEzTgxT5.html

    • @rvscottage7939
      @rvscottage7939 3 роки тому

      Ok sir thanks Please make that series as fast as possible ,sorry sir for demanding you ,yours respecteddly sai

  • @kishoregiri3456
    @kishoregiri3456 4 роки тому

    I am the second to watch😜😅

  • @lolloler4555
    @lolloler4555 2 роки тому

    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?

    • @RahulPandeyrkp
      @RahulPandeyrkp  2 роки тому

      Could you share a screenshot? When I go to the firebase authentication web UI, I do see an option for email password sign in

    • @lolloler4555
      @lolloler4555 2 роки тому

      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?

  • @neilrehani.1409
    @neilrehani.1409 3 роки тому +1

    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!

    • @RahulPandeyrkp
      @RahulPandeyrkp  3 роки тому

      This doesn't appear related to the code- can you try using a different phone or emulator?

    • @neilrehani.1409
      @neilrehani.1409 3 роки тому +1

      @@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

  • @jovianswank300
    @jovianswank300 3 роки тому

    what about sign up ??

    • @RahulPandeyrkp
      @RahulPandeyrkp  3 роки тому +1

      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

  • @Mohit-il9gx
    @Mohit-il9gx 2 роки тому

    Just a fresher here to see how "PRO DEVELOPER " codes 😅😶

  • @stubyoo7
    @stubyoo7 2 роки тому

    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.

    • @RahulPandeyrkp
      @RahulPandeyrkp  2 роки тому

      Isn't it good that it's non-null? Is the issue with the navigation, or that the user is not successfully signed out?