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

  Рет қаралды 180,279

SmallAcademy

SmallAcademy

Күн бұрын

Пікірлер: 303
@SmallAcademy
@SmallAcademy 4 жыл бұрын
Part 2: How to Fetch and Display Data From Firebase Database : kzbin.info/www/bejne/pnLLiniva9hsrbM
@befit_kw7762
@befit_kw7762 4 жыл бұрын
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 3 жыл бұрын
Thank you so much., your code really work., I have tried tons ., but failed.
@chuashanjing2261
@chuashanjing2261 2 жыл бұрын
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 2 жыл бұрын
Sorry im a beginner pls guide me
@besianafixha9599
@besianafixha9599 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!
@duskysky721
@duskysky721 4 жыл бұрын
i won't skip any ad because this vid is very helpful and well explained.. thank youu
@ssserpentario877
@ssserpentario877 4 жыл бұрын
The best, plplease continue teaching like that :D
@marathi_gamer3131
@marathi_gamer3131 Жыл бұрын
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😃😃😃
@edenramos6681
@edenramos6681 4 жыл бұрын
this is great and clear tut step by step with explanation from the app to firestore.God bless to your sir.
@Tommaso1123
@Tommaso1123 4 жыл бұрын
fantastic, continue with this kind of video because for university student is a very powerful way to learn programming
@forcedsmile9400
@forcedsmile9400 2 жыл бұрын
You are Excellent Teacher For the student 😉
@alanc0x
@alanc0x 3 жыл бұрын
Question: It is possible to store the Name and Surname if the user logs into the application using Google/Facebook authentication?
@vendelinfilip9026
@vendelinfilip9026 4 жыл бұрын
Thank you very much for this tutorial. This is absolutely perfect.
@muhammadsaadmansoor7777
@muhammadsaadmansoor7777 4 жыл бұрын
very good unique method of explaining. i was looking for just this thing.
@muhammadhammad2314
@muhammadhammad2314 4 жыл бұрын
you are doing great!, i am just looking forward to have some new android tutorials from your side
@adonismelencion
@adonismelencion 4 жыл бұрын
Thank you! Please do more tutorials!!
@abdur-raheemqureshi9172
@abdur-raheemqureshi9172 11 ай бұрын
Explained really well and easily implemented the solution, really helpful 👍
@marcjacob11
@marcjacob11 Жыл бұрын
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
@moistumbilicalcord3307
@moistumbilicalcord3307 4 жыл бұрын
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 2 жыл бұрын
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
@W-meme
@W-meme 4 жыл бұрын
Thank you sir, easy and simple.
@bitrework1332
@bitrework1332 4 жыл бұрын
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 4 жыл бұрын
u can use VLC Media player to watch the video and set the playback speed as well
@Bragheto
@Bragheto 3 жыл бұрын
This is GOLD! Thank you so much!
@montshojosephmotsumi7762
@montshojosephmotsumi7762 Жыл бұрын
The tutorial is awesome! please make another storing and retrieving user profile image
@codernew3191
@codernew3191 Жыл бұрын
Thankyou sir, your rules helped me out .
@jayeshmahajan7090
@jayeshmahajan7090 4 жыл бұрын
Bhai tu bahut sahi batata he yaar maan liya tujhe.
@boussaadamostafa519
@boussaadamostafa519 4 жыл бұрын
batata in our language is something to eat
@jayeshmahajan7090
@jayeshmahajan7090 4 жыл бұрын
You mean potato yeah i know.
@shahanamohammed1125
@shahanamohammed1125 3 жыл бұрын
Simple explanation. It worked for me.
@peterjanzen9095
@peterjanzen9095 8 ай бұрын
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?
@therealsanjeev
@therealsanjeev 4 жыл бұрын
Bro ur video help me lot thanks for this 💯 👌 ur channel really great for android dev 👊
@EBKCS_SIDDHARTH_SHARMA
@EBKCS_SIDDHARTH_SHARMA 4 жыл бұрын
Most helpful video series for beginners! Thank you so much sir, keep making videos ;p
@chuashanjing2261
@chuashanjing2261 2 жыл бұрын
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
@nathanneisan5697
@nathanneisan5697 9 ай бұрын
thankyou verry much for the video sirr
@bryanpolanco
@bryanpolanco 4 жыл бұрын
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:
@kemalselcuk4755
@kemalselcuk4755 2 жыл бұрын
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?
@pauljohn.ytchannel
@pauljohn.ytchannel 4 жыл бұрын
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
@PaceDesigns
@PaceDesigns 4 жыл бұрын
Thank you for your tutorials!
@therealityshow8264
@therealityshow8264 2 жыл бұрын
Thanks well explained...
@umniahalhalaby2110
@umniahalhalaby2110 3 жыл бұрын
That was very helpful. thank you.
@niphomahlangu2733
@niphomahlangu2733 2 жыл бұрын
Great tutorial. Thank you. 🤝
@aissamboussoufiane7387
@aissamboussoufiane7387 2 жыл бұрын
Thaank youu , love inidia from morroco
@rushibhagwat4108
@rushibhagwat4108 3 жыл бұрын
very informative video
@rawhaosman2099
@rawhaosman2099 4 жыл бұрын
Great job and prefect explaining Thanks alot ^_^
@SmallAcademy
@SmallAcademy 4 жыл бұрын
Awesome 👏
@joshuanwokoye7330
@joshuanwokoye7330 4 жыл бұрын
Thanks. I love ur teaching method
@SmallAcademy
@SmallAcademy 4 жыл бұрын
☺️
@lokabois4457
@lokabois4457 4 жыл бұрын
Hey, Man great work!!! but I have a problem where the collection is not created in the firebase. Thanks in Advance.
@andreeaiacob8077
@andreeaiacob8077 3 жыл бұрын
I have the same problem. Did you solve it?
@ria201tiss9
@ria201tiss9 4 жыл бұрын
This was so helpful. Thanks
@surajchaurasia709
@surajchaurasia709 4 жыл бұрын
Bro, thankyou so much for this tutorial and please can you make tutorial on order confirmation with firebase
@surflaweb
@surflaweb 3 жыл бұрын
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 3 жыл бұрын
here is my question in stackoverflow: stackoverflow.com/questions/64419722/firebase-document-reference-does-not-work
@stanioanfelix4481
@stanioanfelix4481 2 жыл бұрын
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 2 жыл бұрын
My app closes when clicking register button
@praveenasivakumar9781
@praveenasivakumar9781 3 жыл бұрын
Thank you for the help!!!! I understood well and it worked!!!
@chuashanjing2261
@chuashanjing2261 2 жыл бұрын
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
@sanjaystewart666
@sanjaystewart666 7 ай бұрын
YESS WORKS 100%
@amolhase5249
@amolhase5249 3 жыл бұрын
Thank you sir.
@mousaabdelnabyahmed878
@mousaabdelnabyahmed878 3 жыл бұрын
Thank you so much
@bijayparajuli2775
@bijayparajuli2775 4 жыл бұрын
very helpful thanks bro
@DavidFdez556
@DavidFdez556 3 жыл бұрын
Hi! Thanks for this video! Do you know how could we avoid different users using the same email&password?
@akshimamalhotra4556
@akshimamalhotra4556 4 жыл бұрын
12:34 cannot resolve collection and document Not even Alt+Enter is working or support The project is getting error because of document - expected. >Compilation failed I wanted to share screenshot in fb group but request not accepted.
@akshimamalhotra4556
@akshimamalhotra4556 4 жыл бұрын
Please reply
@akshimamalhotra4556
@akshimamalhotra4556 4 жыл бұрын
Cannot resolve method 'document(java.lang.String)'
@christoffere425
@christoffere425 4 жыл бұрын
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?
@tenisonbustomi1679
@tenisonbustomi1679 3 жыл бұрын
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?
@tanmoysaha2271
@tanmoysaha2271 3 жыл бұрын
for multidex error change minimum api level from File->Project Structure->Modules->Min SDK version -> set here 22 or higher
@srujanv6433
@srujanv6433 4 жыл бұрын
Great tutorial brother... Will you please make a video on how to debug a complex application
@thirukarthikanadar615
@thirukarthikanadar615 4 жыл бұрын
Awesome explanation
@SmallAcademy
@SmallAcademy 4 жыл бұрын
Thanks ☺️
@moeezumer6018
@moeezumer6018 3 жыл бұрын
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
@sairam3351
@sairam3351 2 жыл бұрын
Super bro
@iliji8471
@iliji8471 3 жыл бұрын
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 3 жыл бұрын
what does the logcat say when app crashed ?
@dlsleaguer8890
@dlsleaguer8890 3 жыл бұрын
@@SmallAcademy it shows error in this line documentReference.set(user).addOnFailureListener(new OnFailureListener() {
@dlsleaguer8890
@dlsleaguer8890 3 жыл бұрын
@@SmallAcademy pls help me
@TonyMontana-gj1wp
@TonyMontana-gj1wp 4 жыл бұрын
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.
@ashishab1281
@ashishab1281 3 жыл бұрын
Best bro 🔥
@memestation555
@memestation555 Жыл бұрын
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??
@MyNameIsStormSamurai
@MyNameIsStormSamurai 4 жыл бұрын
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? :)
@prasadsanas15
@prasadsanas15 4 жыл бұрын
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
@SoulPrints
@SoulPrints 4 жыл бұрын
The program doesn't work on AndroidX . Problem with this line : "documentReference.set(user).addOnSuccessListener(new OnSuccessListener()" . The Firestore is not storing any value.
@SmallAcademy
@SmallAcademy 4 жыл бұрын
the apps works regardless of androix or support library. you must have made some mistake , try print the error stacktrace and debud the error. if you need my help share the project source code or ask this question with logcat screenshot in our facebook group.
@SoulPrints
@SoulPrints 4 жыл бұрын
@@SmallAcademy Thank you for your response. I have mistakenly passed the wrong variable in user.put(). The String variable (which will store the userinput.toString; value) should be passed in user.put(). Works all fine now ! Thanks a lot for your video. extremely helpful in my Project ! !
@vipintalreja4592
@vipintalreja4592 3 жыл бұрын
My app is running perfectly but In my firebase collection is not created?
@ooyen
@ooyen 4 жыл бұрын
help please, after i try to run it said "cannot fit requested class in a single dex file" what does it mean??
@ronitkarkera8195
@ronitkarkera8195 3 жыл бұрын
Bro i got the solution for that if u didnt.
@ooyen
@ooyen 3 жыл бұрын
@@ronitkarkera8195 actually already got it but if you dont mind, you can still share how to do it. maybe your solution is different than mine
@ronitkarkera8195
@ronitkarkera8195 3 жыл бұрын
@@ooyen i will check and reply i forgot it lol
@akhilsuresh2073
@akhilsuresh2073 3 жыл бұрын
@@ronitkarkera8195 Hey I also ran into the same error please let me know how you fixed it.
@ronitkarkera8195
@ronitkarkera8195 3 жыл бұрын
@@akhilsuresh2073 stackoverflow.com/questions/48249633/errorcannot-fit-requested-classes-in-a-single-dex-file-try-supplying-a-main-dex The first solution in it
@gouthreddyharika3748
@gouthreddyharika3748 4 жыл бұрын
Hai I am getting the error as “cannot fit requested classes in a single dex file(#methods: 75863>65536) This is happening when am trying to store the data . Can you please help me out with this I want to submit it by end of the day. Thank you
@SmallAcademy
@SmallAcademy 4 жыл бұрын
hey you need to add multidex support dependency
@8thsemproject900
@8thsemproject900 4 жыл бұрын
@@SmallAcademy Can you please tell how to add this? Even I am getting the same error as below Cannot fit requested classes in a single dex file (# methods: 74367 > 65536)
@8thsemproject900
@8thsemproject900 4 жыл бұрын
Can you please say how did you fix this?
@surflaweb
@surflaweb 3 жыл бұрын
@@8thsemproject900 developer.android.com/studio/build/multidex?hl=es
@sakinahabibeche3676
@sakinahabibeche3676 4 жыл бұрын
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 4 жыл бұрын
You need to setup privilege using flags while creating the user, the tutorial is coming on that soon
@mohammedhissham8719
@mohammedhissham8719 4 жыл бұрын
@@SmallAcademy has this tutorial arrived...
@sharjeelanjum6192
@sharjeelanjum6192 4 жыл бұрын
sir your teaching method is simple and easy to understand. i have followed all the steps but my information is not storing in a database can you please help me out?
@SmallAcademy
@SmallAcademy 4 жыл бұрын
Share the source code in github
@sharjeelanjum6192
@sharjeelanjum6192 4 жыл бұрын
Dear its done. Thanks 😊
@Free-ns3to
@Free-ns3to 4 жыл бұрын
how did u solve it, i am having the same problem
@asturanjan2472
@asturanjan2472 4 жыл бұрын
@@Free-ns3to just check your variable names in user.put() thing , the variables should be the ones created inside OnClickListner , i mean those string ones .... i was doing this mistake
@deborahfontoura9638
@deborahfontoura9638 4 жыл бұрын
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?
@balajibrk1779
@balajibrk1779 4 жыл бұрын
Thanks brother :)
@rasakibalogun9316
@rasakibalogun9316 3 жыл бұрын
hi I have created a to-do list app i want to be able to use fingerprint as a password and add 2 users to the app can this be done ?
@rushibhagwat4108
@rushibhagwat4108 3 жыл бұрын
Cannot fit requested classes in a single dex file (# methods: 96519 > 65536) getting this error, Please Help!!!!!
@stumantra
@stumantra 3 жыл бұрын
you should change this video title. video title should be - "Login & Register Android App Using Firebase | Android Studio Authentication Tutorials | Part 3/4 "
@keerthivasan8061
@keerthivasan8061 4 жыл бұрын
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 4 жыл бұрын
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 4 жыл бұрын
you may need to install gapps into your genymotion emulator.
@user-en2xt5bs3e
@user-en2xt5bs3e 4 жыл бұрын
@@SmallAcademy Hi, it is not helping! which emulator you suggest to use?
@MrKratosYt
@MrKratosYt 3 жыл бұрын
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
@bhavyatakharchaliya6587
@bhavyatakharchaliya6587 4 жыл бұрын
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 ,
@Mayada_Elsayed
@Mayada_Elsayed 10 ай бұрын
Thanks😫
@jiachowtung1396
@jiachowtung1396 3 жыл бұрын
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?
@mervinlee450
@mervinlee450 3 жыл бұрын
Hello! How do you save integer or long variable?
@cheongmintan2040
@cheongmintan2040 4 жыл бұрын
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.
@safiaismail8806
@safiaismail8806 4 жыл бұрын
hi . how do you store from a radio button to firebase
@muhamadirwan99
@muhamadirwan99 4 жыл бұрын
thx u sir
@linetmshaji1405
@linetmshaji1405 3 жыл бұрын
Can you do one video for multi user-login like admin,student,teacher etc
@shuvamgajurel7382
@shuvamgajurel7382 3 жыл бұрын
[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.
@mauphernandez3928
@mauphernandez3928 3 жыл бұрын
its cool, thank you, but why every chanel creates a login app? :/
@abhishekranjan1094
@abhishekranjan1094 4 жыл бұрын
Sir phone,email,passwoed is not storing in firebase....new update is firebase totally different.. Please help me sir
@Mq308
@Mq308 2 жыл бұрын
Amazing thank you I just wanted to know how I could write this line in Kotlin Map user = new HashMap()
@hammadzafar9704
@hammadzafar9704 4 жыл бұрын
you are just love....
@shaniagracias7240
@shaniagracias7240 2 жыл бұрын
I tried this code and the build was successful..I ran it after filling in the details for registration it gets authenticated...but doesnt get added to the firebase store database ..why?
@amrita3505
@amrita3505 Жыл бұрын
same issue have you found any solution ??
@shahmeet2671
@shahmeet2671 3 жыл бұрын
giving error that the nonstatic method set can not be refrenced from a static context
@VikasGupta-xg3uv
@VikasGupta-xg3uv 3 жыл бұрын
I have used google sign-in auth how can I do same and store in database?
@arfyslowy
@arfyslowy 4 жыл бұрын
i have problem my brother,usrr information not save at firebase database,why ??
@ooyen
@ooyen 3 жыл бұрын
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
@SmallAcademy
@SmallAcademy 3 жыл бұрын
Sure
@knzdespair
@knzdespair 3 жыл бұрын
hello sir help me, after adding firestore sdk, the app always crashing when i run it?
@Bruh-um8qt
@Bruh-um8qt 4 жыл бұрын
Bro I love you
@mohdhazmi472
@mohdhazmi472 3 жыл бұрын
i got error "Cannot fit requested classes in a single dex file (# methods: 101451 > 65536)" can help me?
@mohdhazmi472
@mohdhazmi472 3 жыл бұрын
"app:mergeDexDebug FAILED" i don`t understand.. why??
@hemnanisanjay3481
@hemnanisanjay3481 4 жыл бұрын
hey what if we passed user email instead of userId in document referance ?
@Naruto77695
@Naruto77695 4 жыл бұрын
I need src code I checked in your website video is not present there
@SmallAcademy
@SmallAcademy 4 жыл бұрын
source code is available at my GitHub: github.com/bikashthapa01/firebase-authentication-android
Остановили аттракцион из-за дочки!
00:42
Victoria Portfolio
Рет қаралды 3,1 МЛН
An Unknown Ending💪
00:49
ISSEI / いっせい
Рет қаралды 48 МЛН
Firebase Auth Tutorial #15- Firestore Users Collection
12:54
Net Ninja
Рет қаралды 289 М.
Model Relational Data in Firestore NoSQL
9:13
Fireship
Рет қаралды 376 М.
Getting started with Firebase on Android
12:24
Firebase
Рет қаралды 90 М.
How to Do 90% of What Plugins Do (With Just Vim)
1:14:03
thoughtbot
Рет қаралды 895 М.
Остановили аттракцион из-за дочки!
00:42
Victoria Portfolio
Рет қаралды 3,1 МЛН