Store User Profile data in Firebase FireStore | Firestore Tutorials | Android Studio

Sdílet
Vložit
  • čas přidán 4. 06. 2024
  • Learn How to Store user profile data in the Firebase Firestore database in android studio. These are basic video tutorials on the firebase database where we are going to take the data from the registration form and store them in the firebase firestore database.
    This is part one of the video tutorials on Firebase firestore store the user data and retrieve it .
    Source Code: simplegyaan.com/post/how-to-l...
    Previous Tutorials:
    1. Firebase Authentication system part-1: • Login & Register Andro...
    2. Firebase Authentication System Part-2: • Login & Register Andro...
    Next Tutorials :
    1. Verify User Email Address : • Verify user Email Addr...
    1. Forget Password / Reset Password: • Reset Password | Login...
    Source:
    firebase phone authentication android tutorial, firebase android authentication tutorial,android studio tutorial - firebase authentication (2019 version),#1 firebase phone authentication android tutorial - sign in,Login & Register Using Firebase,Android Studio Authentication Tutorials,login and register android studio,login and register android studio firebase,firebase authentication android,firebase authentication tutorial,android studio tutorial for beginners
    #androidstudio #firebase #firestore
  • Jak na to + styl

Komentáře • 306

  • @SmallAcademy
    @SmallAcademy  Před 4 lety +10

    Part 2: How to Fetch and Display Data From Firebase Database : czcams.com/video/pAhYEy6s9wQ/video.html

    • @befit_kw7762
      @befit_kw7762 Před 4 lety +3

      Hello sir, great informative video indeed. That brings me a question in how we use Google authentication firebase and connect to Google fit Api at the same time? I'm really struggling with this part and your help is highly appreciated.

    • @onlyyouuteh9658
      @onlyyouuteh9658 Před 3 lety +1

      Thank you so much., your code really work., I have tried tons ., but failed.

    • @chuashanjing2261
      @chuashanjing2261 Před rokem +1

      Hello sir, 20:28 how did u manage to make addOnSuccessListener((OnSuccessListener)(aVoid) -> {
      If i ignore it and i use addOnSuccessListener(new OnsuccessListener(){
      Override
      public void onSuccess(Void unused){
      Logd(.....);
      }}).addOnFailureListener(new OnFailureListener(){
      @Override
      public void onFailure(@NonNull Exception e){logd Tag, msg + e.toString}
      For this code, e.toString and new OnFailureListener is still grey

    • @chuashanjing2261
      @chuashanjing2261 Před rokem

      Sorry im a beginner pls guide me

  • @besianafixha9599
    @besianafixha9599 Před 4 lety +4

    I did all 4 videos step by step and now I have a fully functional app. I did not just program the app, I learned java and android studio so much better than before! Thank you!

  • @ssserpentario877
    @ssserpentario877 Před 4 lety +9

    The best, plplease continue teaching like that :D

  • @muhammadhammad2314
    @muhammadhammad2314 Před 4 lety +1

    you are doing great!,
    i am just looking forward to have some new android tutorials from your side

  • @duskysky721
    @duskysky721 Před 4 lety +1

    i won't skip any ad because this vid is very helpful and well explained.. thank youu

  • @vendelinfilip9026
    @vendelinfilip9026 Před 4 lety +2

    Thank you very much for this tutorial. This is absolutely perfect.

  • @marcjacob11
    @marcjacob11 Před rokem

    Thank you so much for this! Your videos are so helpful and I am learning a lot from them! Once again, thank you so much! :D

  • @radhakrushna_3131
    @radhakrushna_3131 Před rokem

    Thank you so much for the video.
    I literally had have up on this as I didn't find anything regarding the rules part over internet.
    Thank you again😃😃😃

  • @muhammadsaadmansoor7777
    @muhammadsaadmansoor7777 Před 4 lety +1

    very good unique method of explaining. i was looking for just this thing.

  • @Bragheto
    @Bragheto Před 3 lety +1

    This is GOLD! Thank you so much!

  • @edenramos6681
    @edenramos6681 Před 4 lety +1

    this is great and clear tut step by step with explanation from the app to firestore.God bless to your sir.

  • @W-meme
    @W-meme Před 4 lety +1

    Thank you sir, easy and simple.

  • @Tommaso1123
    @Tommaso1123 Před 4 lety

    fantastic, continue with this kind of video because for university student is a very powerful way to learn programming

  • @PaceDesigns
    @PaceDesigns Před 4 lety

    Thank you for your tutorials!

  • @shahanamohammed1125
    @shahanamohammed1125 Před 3 lety

    Simple explanation. It worked for me.

  • @adonismelencion
    @adonismelencion Před 3 lety +1

    Thank you! Please do more tutorials!!

  • @umniahalhalaby2110
    @umniahalhalaby2110 Před 3 lety

    That was very helpful. thank you.

  • @ria201tiss9
    @ria201tiss9 Před 4 lety

    This was so helpful. Thanks

  • @abdur-raheemqureshi9172
    @abdur-raheemqureshi9172 Před 7 měsíci

    Explained really well and easily implemented the solution, really helpful 👍

  • @kemalselcuk4755
    @kemalselcuk4755 Před 2 lety

    Hi sir, great content. My question is if my professor opens up my project, how will he connect to the firestore database? Does he have to add all the dependencies like we did?

  • @EBKCS_SIDDHARTH_SHARMA

    Most helpful video series for beginners! Thank you so much sir, keep making videos ;p

    • @chuashanjing2261
      @chuashanjing2261 Před rokem

      Hello sir, 20:28 how did u manage to make addOnSuccessListener((OnSuccessListener)(aVoid) -> {
      If i ignore it and i use addOnSuccessListener(new OnsuccessListener(){
      Override
      public void onSuccess(Void unused){
      Logd(.....);
      }}).addOnFailureListener(new OnFailureListener(){
      @Override
      public void onFailure(@NonNull Exception e){logd Tag, msg + e.toString}
      For this code, e.toString and new OnFailureListener is still grey

  • @therealsanjeev
    @therealsanjeev Před 4 lety

    Bro ur video help me lot thanks for this 💯 👌 ur channel really great for android dev 👊

  • @aissamboussoufiane7387

    Thaank youu , love inidia from morroco

  • @niphomahlangu2733
    @niphomahlangu2733 Před rokem

    Great tutorial. Thank you. 🤝

  • @codernew3191
    @codernew3191 Před rokem

    Thankyou sir, your rules helped me out .

  • @pauljohn.ytchannel
    @pauljohn.ytchannel Před 3 lety +1

    Hi Thanks for this tutorial, may I asked what if you have user role? Like admin and user type, how you gonna do that with firebase

  • @rawhaosman2099
    @rawhaosman2099 Před 4 lety +1

    Great job and prefect explaining
    Thanks alot ^_^

  • @joshuanwokoye7330
    @joshuanwokoye7330 Před 4 lety

    Thanks. I love ur teaching method

  • @forcedsmile9400
    @forcedsmile9400 Před 2 lety

    You are Excellent Teacher For the student 😉

  • @montshojosephmotsumi7762

    The tutorial is awesome! please make another storing and retrieving user profile image

  • @therealityshow8264
    @therealityshow8264 Před 2 lety

    Thanks well explained...

  • @nathanneisan5697
    @nathanneisan5697 Před 6 měsíci

    thankyou verry much for the video sirr

  • @bijayparajuli2775
    @bijayparajuli2775 Před 3 lety

    very helpful thanks bro

  • @amolhase5249
    @amolhase5249 Před 3 lety

    Thank you sir.

  • @mousaabdelnabyahmed878

    Thank you so much

  • @christoffere425
    @christoffere425 Před 4 lety

    If I have create a database like the following: City name(collection) - Users(Documents + a line called "permission" to decide what layout to send them to later on in that document).
    I have some test-email adresses. How to I actually connect an email address to the user in that specific collection?

  • @praveenasivakumar9781
    @praveenasivakumar9781 Před 2 lety

    Thank you for the help!!!! I understood well and it worked!!!

    • @chuashanjing2261
      @chuashanjing2261 Před rokem

      Hello sir, 20:28 how did u manage to make addOnSuccessListener((OnSuccessListener)(aVoid) -> {
      If i ignore it and i use addOnSuccessListener(new OnsuccessListener(){
      Override
      public void onSuccess(Void unused){
      Logd(.....);
      }}).addOnFailureListener(new OnFailureListener(){
      @Override
      public void onFailure(@NonNull Exception e){logd Tag, msg + e.toString}
      For this code, e.toString and new OnFailureListener is still grey

  • @surajchaurasia709
    @surajchaurasia709 Před 4 lety

    Bro, thankyou so much for this tutorial and please can you make tutorial on order confirmation with firebase

  • @srujanv6433
    @srujanv6433 Před 4 lety

    Great tutorial brother... Will you please make a video on how to debug a complex application

  • @alanc0x
    @alanc0x Před 3 lety +2

    Question: It is possible to store the Name and Surname if the user logs into the application using Google/Facebook authentication?

  • @sanjaystewart666
    @sanjaystewart666 Před 4 měsíci

    YESS WORKS 100%

  • @TonyMontana-gj1wp
    @TonyMontana-gj1wp Před 4 lety

    Hi Sir, I have follow all of your Videos for Firebase and managed to get it working perfectly. Now I want to create another table inside of my Firebase. I figured I might be able to use the same code but I don't think I can. My problem is with fAuth.createUserWithEmail.... . Since I already created the user on signup page, what should I replace the createUserWithEmail with? I just want to send the data to Firebase. Then call it back on another activity with another button.

  • @rushibhagwat4108
    @rushibhagwat4108 Před 3 lety

    very informative video

  • @peterjanzen9095
    @peterjanzen9095 Před 4 měsíci

    This is almost the exact problem I'm having right now but I'm not using Android Studio, I'm using Visual Studio Code. You wouldn't happen to have a video on that?

  • @balajibrk1779
    @balajibrk1779 Před 3 lety

    Thanks brother :)

  • @moistumbilicalcord3307
    @moistumbilicalcord3307 Před 3 lety +1

    I love the content but the volume mastering is very quiet, I struggle to hear on max volume. Other than that your teaching and tutorial skills are really good and has helped me massively! Please keep up the good work!

    • @chuashanjing2261
      @chuashanjing2261 Před rokem

      Hello sir, 20:28 how did u manage to make addOnSuccessListener((OnSuccessListener)(aVoid) -> {
      If i ignore it and i use addOnSuccessListener(new OnsuccessListener(){
      Override
      public void onSuccess(Void unused){
      Logd(.....);
      }}).addOnFailureListener(new OnFailureListener(){
      @Override
      public void onFailure(@NonNull Exception e){logd Tag, msg + e.toString}
      For this code, e.toString and new OnFailureListener is still grey

  • @bitrework1332
    @bitrework1332 Před 3 lety

    Your tutorial are amazing quite satisfied
    I faced only one issue that's after downloading there is no option available of playback speed
    I request you to manage this
    Coz I usually watch videos on 1.75-2x speed

    • @SmallAcademy
      @SmallAcademy  Před 3 lety

      u can use VLC Media player to watch the video and set the playback speed as well

  • @deborahfontoura9638
    @deborahfontoura9638 Před 3 lety

    Oi professor e se eu quero salvar um elemento de um toast de uma listView que ele selecionou no cadastro como eu represento no firebase para salvar?

  • @DavidFdez556
    @DavidFdez556 Před 3 lety +1

    Hi! Thanks for this video! Do you know how could we avoid different users using the same email&password?

  • @ashishab1281
    @ashishab1281 Před 2 lety

    Best bro 🔥

  • @bryanpolanco
    @bryanpolanco Před 4 lety +1

    hi, im wonderign if youve ever seen an error where it says This :
    (0.6.6-dev) [Firestore]: The behavior for java.util.Date objects stored in Firestore is going to change AND YOUR APP MAY BREAK.
    To hide this warning and ensure your app does not break, you need to add the following code to your app before calling any other Cloud Firestore methods:

  • @thirukarthikanadar615
    @thirukarthikanadar615 Před 4 lety

    Awesome explanation

  • @jayeshmahajan7090
    @jayeshmahajan7090 Před 4 lety

    Bhai tu bahut sahi batata he yaar maan liya tujhe.

  • @MyNameIsStormSamurai
    @MyNameIsStormSamurai Před 4 lety

    Hi, i have followed all the steps of the tutorials, the code doesn't generate errors, but when i run it, it doesn't print in the logcat if the documentReference.set(user).addOnSuccessListener(new OnSuccessListener() was successful or not, and it doesn't sore the data in the database. It's like if it doens't do that. Any help? :)

  • @moeezumer6018
    @moeezumer6018 Před 3 lety

    kindly tell me if i create another page for registration like that with more texts and edit code according to field it will will not create database and my app will struct in previous page not moves on that page what is the problem

  • @mervinlee450
    @mervinlee450 Před 3 lety

    Hello! How do you save integer or long variable?

  • @sairam3351
    @sairam3351 Před 2 lety

    Super bro

  • @cheongmintan2040
    @cheongmintan2040 Před 3 lety

    Sir, can you do a tutorial about the queue system which users are allowed to be in virtual queue by getting the number and join the queue.

  • @Mayada_Elsayed
    @Mayada_Elsayed Před 7 měsíci

    Thanks😫

  • @hammadzafar9704
    @hammadzafar9704 Před 4 lety

    you are just love....

  • @muhamadirwan99
    @muhamadirwan99 Před 4 lety

    thx u sir

  • @jiachowtung1396
    @jiachowtung1396 Před 3 lety

    I want to add a document called "Player 1" to the Collections "Scores." I want to keep track of all the scores for Player 1, no matter how may times the game is played by the same player. In other words, how do you append data to a Firestore document? Can u show me?

  • @Bruh-um8qt
    @Bruh-um8qt Před 4 lety

    Bro I love you

  • @tenisonbustomi1679
    @tenisonbustomi1679 Před 3 lety +1

    Bro I have problem. I watch this video to create user and save data is success. So I want to create and save another data but fail. Can you help me?

  • @infotainment7123
    @infotainment7123 Před 4 lety

    can we use class object instead of map object?

  • @linetmshaji1405
    @linetmshaji1405 Před 3 lety

    Can you do one video for multi user-login like admin,student,teacher etc

  • @alexubad1986
    @alexubad1986 Před 3 lety

    Hi, can you do the same using Firebase Realtime Database?

  • @prasadsanas5196
    @prasadsanas5196 Před 4 lety

    W/art: Before Android 4.1, method int java.util.concurrent.ThreadLocalRandom.internalNextInt(int, int) would have incorrectly overridden the package-private method in java.util.Random

  • @memestation555
    @memestation555 Před 10 měsíci

    When i create new user data inserted in database but when i create user with same userid it override it,it doesn't give me error that user already exists...whyy??

  • @bhavyatakharchaliya6587

    I did everything in registration page , but after install app i m in registration page all validations work but then i click register it shows my sign activity. while in intent i gave the home activity location but after register button click data was not store in firestore database. so please solve this ,

  • @MrKratosYt
    @MrKratosYt Před 2 lety

    Bro i used the same way as you did but mine data was not stored in the firebase can you help me in solving the solving the problem

  • @AtulGupta-jj7ek
    @AtulGupta-jj7ek Před 3 lety

    Do we need a billing account to put my app in production mode

  • @sakinahabibeche3676
    @sakinahabibeche3676 Před 4 lety

    Thank youuu ,i have a question what if i have 2 type of users like in my case it's teacher or student how will you add data to firestore

    • @SmallAcademy
      @SmallAcademy  Před 4 lety +2

      You need to setup privilege using flags while creating the user, the tutorial is coming on that soon

    • @mohammedhissham8719
      @mohammedhissham8719 Před 3 lety

      @@SmallAcademy has this tutorial arrived...

  • @imqz
    @imqz Před 3 lety +1

    I have a lot of errors, need help! Can I send it to you for help?

  • @surflaweb
    @surflaweb Před 3 lety

    hello @SmallAcademy i can't save his extra information of the user.. there is not errors nothing happend only the registrarion..please help me.

    • @surflaweb
      @surflaweb Před 3 lety

      here is my question in stackoverflow: stackoverflow.com/questions/64419722/firebase-document-reference-does-not-work

  • @hemnanisanjay3481
    @hemnanisanjay3481 Před 4 lety

    hey what if we passed user email instead of userId in document referance ?

  • @tanmoysaha2271
    @tanmoysaha2271 Před 3 lety

    for multidex error change minimum api level from File->Project Structure->Modules->Min SDK version -> set here 22 or higher

  • @amilatharanga6206
    @amilatharanga6206 Před 3 lety

    Can you please tell me how to do this with a realtime database

  • @rushibhagwat4108
    @rushibhagwat4108 Před 3 lety

    Cannot fit requested classes in a single dex file (# methods: 96519 > 65536) getting this error, Please Help!!!!!

  • @lokabois4457
    @lokabois4457 Před 4 lety +2

    Hey, Man great work!!! but I have a problem where the collection is not created in the firebase. Thanks in Advance.

  • @stanioanfelix4481
    @stanioanfelix4481 Před 2 lety

    Sir, I have Corona and I can not go to school, but I wanted to learn how to code Android so I started to follow your tutorials. For this app, the first tutorials were great, I learened a lot, but I have to say that for storing data to firestore ain't working. a follow up would be amazing

    • @levireal2553
      @levireal2553 Před 2 lety

      My app closes when clicking register button

  • @keerthivasan8061
    @keerthivasan8061 Před 3 lety

    3.08 your app is connected with firebase by default.but my app was not connected even if i try to connect it shows error.can anyone helpme please

  • @user-en2xt5bs3e
    @user-en2xt5bs3e Před 4 lety +1

    Hi, the tutorial was very helpfull!!! thank u.
    I face aproblem !!!my Genymotion emulator can not run app with firebase authentication and firestore database together .
    thr app build good in android but the emulator can not display the app,
    when i delete all the code and dependency relate to the firestore and leave the code only with the firebase authentication the emulator display the app perfectly!!
    can someone here that now about this problem can please help me!
    thank u !

    • @SmallAcademy
      @SmallAcademy  Před 4 lety

      you may need to install gapps into your genymotion emulator.

    • @user-en2xt5bs3e
      @user-en2xt5bs3e Před 4 lety

      @@SmallAcademy Hi, it is not helping! which emulator you suggest to use?

  • @safiaismail8806
    @safiaismail8806 Před 3 lety

    hi . how do you store from a radio button to firebase

  • @VikasGupta-xg3uv
    @VikasGupta-xg3uv Před 3 lety

    I have used google sign-in auth how can I do same and store in database?

  • @mauphernandez3928
    @mauphernandez3928 Před 3 lety

    its cool, thank you, but why every chanel creates a login app? :/

  • @iliji8471
    @iliji8471 Před 3 lety

    Great video, well explained. I currently facing a problem, my app crashed just after clicking on the button and the collection is not created but the authentication tab in firestore works fine. Can you help me with that? Please

    • @SmallAcademy
      @SmallAcademy  Před 3 lety

      what does the logcat say when app crashed ?

    • @dlsleaguer8890
      @dlsleaguer8890 Před 3 lety

      @@SmallAcademy it shows error in this line documentReference.set(user).addOnFailureListener(new OnFailureListener() {

    • @dlsleaguer8890
      @dlsleaguer8890 Před 3 lety

      @@SmallAcademy pls help me

  • @huzaifamunir3295
    @huzaifamunir3295 Před 4 lety

    great sir... i have a problem in my app when ever i want try to login the app stop working. when i signup and then login in a time then app does not crashed when i try to login 2nd time with the same email then app also crashed

    • @SmallAcademy
      @SmallAcademy  Před 4 lety

      Please share the source code here fb.com/groups/smallacademy

  • @ahmedjaved7923
    @ahmedjaved7923 Před 4 lety

    what about store user profile data in realtime firebase database is there any video about that then kindly share with me thanks

  • @knzdespair
    @knzdespair Před 2 lety

    hello sir help me, after adding firestore sdk, the app always crashing when i run it?

  • @arfyslowy
    @arfyslowy Před 4 lety

    i have problem my brother,usrr information not save at firebase database,why ??

  • @vipintalreja4592
    @vipintalreja4592 Před 3 lety +1

    My app is running perfectly but In my firebase collection is not created?

  • @abhishekranjan1094
    @abhishekranjan1094 Před 3 lety

    Sir phone,email,passwoed is not storing in firebase....new update is firebase totally different.. Please help me sir

  • @Mq308
    @Mq308 Před 2 lety

    Amazing thank you I just wanted to know how I could write this line in Kotlin Map user = new HashMap()

  • @shuvamgajurel7382
    @shuvamgajurel7382 Před 3 lety

    [URG] I do not get any error or anything and it will run but my data is not being added to the firestore ?
    can anyone help? Please.
    thank you in advance.

  • @ooyen
    @ooyen Před 3 lety

    hi sir, can you do tutorial on how to store data of user's location(map)? so that in firestore we can see the location of user

  • @angiyaz7491
    @angiyaz7491 Před 2 lety

    if i want to profile photo. how can i in firebase ? pleass help

  • @shahmeet2671
    @shahmeet2671 Před 3 lety

    giving error that the nonstatic method set can not be refrenced from a static context

  • @maliknafees8173
    @maliknafees8173 Před 4 lety

    Hi can we use firestore and real time db at the same time? Plz help because I follow your method for firebase authentication but after that when I have to enter data in real time db my app crashes kindly help as their is no error in code

    • @febrirasyiid4808
      @febrirasyiid4808 Před 4 lety

      Did you get the solution? I got the same problem like you

  • @samermazraani9011
    @samermazraani9011 Před 3 lety

    hi anyone knows how to store spinner value in firestore I'm new to firebase