Firebase Authentication with Custom User Fields in Android

  Рет қаралды 109,676

Simplified Coding

Simplified Coding

Күн бұрын

Пікірлер: 139
@oshadaattanayake7313
@oshadaattanayake7313 4 жыл бұрын
database doesn't write my infomation, always shows as null.. sucks
@afaqurrehmankhan3133
@afaqurrehmankhan3133 4 жыл бұрын
Best tutorial ever. Was looking for something like this for a very long time. Thankyou.
@mrkansas
@mrkansas 6 жыл бұрын
How can we use this but With uid rules on the Database? Cause if we only use auth != null that means that any logged user can modify any data of the DB
@loudeternitygaming2327
@loudeternitygaming2327 Жыл бұрын
Hey is there any tutorial how to display the data in rtdb when using firebase auth i really needed that tutorial
@tenngawanghero
@tenngawanghero 5 жыл бұрын
Awesome, I been looking for this tutorial in long time. Thank you for your service
@MrMarimoSan
@MrMarimoSan 5 жыл бұрын
Nicely make us understand....Thank you...Bilal Bhai would you make video on Android support different screen sizes...Hope u would consider this
@virajgamdha5328
@virajgamdha5328 4 жыл бұрын
Thnks ,this became very useful for me...
@devidpatel7439
@devidpatel7439 4 жыл бұрын
sir, mare mobile authentication after email signin karavu hoy to kai rite karavu and login time mare username and passoword rakhava so how can do ??
@sadiqueilyas2025
@sadiqueilyas2025 4 жыл бұрын
No properties to serialize found on class com.example.myfirebaseauthenticationdatabase.User It says the helper class User has no properties to serialize That's the error coming . Help me Please !!!
@trevorPhillips284
@trevorPhillips284 2 жыл бұрын
same
@SureshKumar-kd3fx
@SureshKumar-kd3fx 6 жыл бұрын
After so many search your video give me a solution thank u very much bro..
@sujanpaul5572
@sujanpaul5572 5 жыл бұрын
sir if I use cloude firestore alternet of Realtime database then it will work fine or need to change anything please reply sir.
@meldrickfernandes3645
@meldrickfernandes3645 3 жыл бұрын
Thank you very much 🥰 Because of You I Could Complete My Project
@rishabhagarwal9935
@rishabhagarwal9935 5 жыл бұрын
Exactly what i was searching for. Thanks a lot for these tutuorials
@suhaibshanaa508
@suhaibshanaa508 4 жыл бұрын
Awesome, I been looking for this tutorial in long time. Thank you very muchhhhhhhhhhhhhhhhh
@subarnanaskar1970
@subarnanaskar1970 4 жыл бұрын
when user fill application admin check this application and approval in Firebase then user can use this this particuler button . how to do that
@crashcartjoe6783
@crashcartjoe6783 5 жыл бұрын
java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.ProgressBar.setVisibility(int)' on a null object reference this error is coming logcat
@AbdulRahim-ft9pd
@AbdulRahim-ft9pd 6 жыл бұрын
Thank You So Much For The Video. I've been checking for this, since last two months. Finally my search is over. Thanks once again. In my app, I've changed the 'name' field by 'Username' which will be unique for every user. Please upload a video, for how to check if the username or phone number is already registered in database? & if its already registered, it should show an alert to user that, username/phone number is already registered in database.
@farisfarley8730
@farisfarley8730 5 жыл бұрын
Bilal brother i ran your code, it is adding users but not adding their data in database... please can you check. i updated everything but iam also not getting toast registered successfully.. i dont know why ? please check
@yashpalsingh4427
@yashpalsingh4427 4 жыл бұрын
But How to give permission to the all users by this way Because We have only give permission to one user by this method to sign in with security.. If we write == true so your data is in secure
@erickjuma9558
@erickjuma9558 6 жыл бұрын
hello am getting this error E/MultiWindowProxy: getServiceInstance failed! what might be the problem? The data is not being saved in Real-time database
@hristoplamenov1942
@hristoplamenov1942 4 жыл бұрын
Nice Tutorial but what happens if the user's username needs to be unique?
@SimplifiedCoding
@SimplifiedCoding 4 жыл бұрын
Email is unique here.
@neoniknikhil
@neoniknikhil 6 жыл бұрын
When I made signapk for phone number authentication its not working its showing me SH1 key not matched bt I cross check SHA1 key is perfectly matched.. so please give me solution
@ai-music-with-habibi
@ai-music-with-habibi 5 жыл бұрын
Thanks for the video, greatly helped, bro plz make a video, showing "how to control user access level of different custom users of Firebase "
@AlishaKhan-mu1gq
@AlishaKhan-mu1gq 5 жыл бұрын
Sir, why is it showing registration unsuccessful, though I have written the exact same code?
@nabeeltech7885
@nabeeltech7885 5 жыл бұрын
Bro can u make video on custom claim I am making a app tutor finder I am confused because in welcome page I have two buttons I am a teacher and I am a student I want to build a mechanism that if teacher is already logged in the app open teacher UI and if student is logged in the app open student UI many say custom claim please reply
@BilalKhan-ln8tn
@BilalKhan-ln8tn 4 жыл бұрын
Thank you so much, sir how we will Authentication with mobile number along with custom field or like careem app authentication system, plzz sir waiting for this video,
@johnjeremih
@johnjeremih 6 жыл бұрын
You are awesome! If I make a app an I make a lot of money I will give you a big donation.
@miles_whalberg
@miles_whalberg 6 жыл бұрын
Good Tutorial sir, you are doing an epic job
@pushkarprabhat7152
@pushkarprabhat7152 4 жыл бұрын
Please make same video for phone auth database using realtime
@freedmoresidume
@freedmoresidume 6 жыл бұрын
Very helpful..., awesome tutorial
@anukulnarkhede1749
@anukulnarkhede1749 5 жыл бұрын
can you please create a video on Firebase Admin SDK (Sign in with custom tokens)
@ashwinijawale2358
@ashwinijawale2358 5 жыл бұрын
Hello i m using Cloud Firestore Database so How can i do?
@rishavthecoder5402
@rishavthecoder5402 5 жыл бұрын
How to check email existence in firebase already?
@swesavithiri8629
@swesavithiri8629 6 жыл бұрын
The app is running but it's showing that not registered...how to resolve the issue?
@miguelaquino45
@miguelaquino45 5 жыл бұрын
Hi Sir, I can't get the string registration_success. What should I do?
@businessesbusiness2624
@businessesbusiness2624 5 жыл бұрын
hi, i have this error, Make sure to call FirebaseApp.initializeApp(Context) first ? can you help me?
@deckyilhamsyahputra5518
@deckyilhamsyahputra5518 6 жыл бұрын
sir , how to crud firebase Authentication ?? Please help me :(
@pbansari14
@pbansari14 6 жыл бұрын
Hello sir, Can we change the uid which is auto generated when a user is registered in authentication? Thank you.
@arvindvishwakarma7800
@arvindvishwakarma7800 6 жыл бұрын
no it can not be changed because its auto generated id by google firebase
@pbansari14
@pbansari14 6 жыл бұрын
Trailer zone Ok Thank you
@skjakaria9412
@skjakaria9412 3 жыл бұрын
Sir, update this video. Now firebase has lot more option. Like custom claims, or custom UID . So very few video in KZbin about firebase custom claims. No one knows how to use this feature with Android app
@vauxique
@vauxique 6 жыл бұрын
Very good tutorial video 😁😁😁
@palashjain3543
@palashjain3543 6 жыл бұрын
The values are not getting stored in the database but they are getting saved as user? Any help?
@eDR10x
@eDR10x 5 жыл бұрын
Hello. Try to update the gradle dependence of firebase-database for latest version.
@alistairollenrenshaw1700
@alistairollenrenshaw1700 6 жыл бұрын
How to retrieve the information, let say the name and display it in the another activity? For example the profile activity.
@SimplifiedCoding
@SimplifiedCoding 6 жыл бұрын
Check this Firebase Realtime Database Tutorial for Android: kzbin.info/aero/PLk7v1Z2rk4hj6SDHf_YybDeVhUT9MXaj1
@mezomezozezo
@mezomezozezo 5 жыл бұрын
Hi, i made it but the accounts saved in the authentication only, nothing in the database
@reassume4826
@reassume4826 5 жыл бұрын
Mazen Osama have you solved the issue? Me too facing same problem.
@mezomezozezo
@mezomezozezo 5 жыл бұрын
@@reassume4826 I solved it
@janani1069
@janani1069 5 жыл бұрын
@@mezomezozezo how did you solve that? Please help me
@mezomezozezo
@mezomezozezo 5 жыл бұрын
@@janani1069 ok, give me an hour till i open from my pc
@mezomezozezo
@mezomezozezo 5 жыл бұрын
@@janani1069 check this repository github.com/mazenoss/learnHubApp
@divy9t
@divy9t 6 жыл бұрын
Sir the tutorial isn't working for me because the attributes aren't getting stored in the database.
@yogeshkuriyavar9688
@yogeshkuriyavar9688 5 жыл бұрын
i am facing a similar problem .did you find a solution to the problem?
@HamzaKhan-ku9yp
@HamzaKhan-ku9yp 5 жыл бұрын
for this we need to have our database rules as public? because if we set the rules for authenticated users only then it would not be possible to signup with this method. Isn't it insecure to set the rules public?
@SimplifiedCoding
@SimplifiedCoding 5 жыл бұрын
No.. first we are signing up then setting the data.. so you dont need to make your db public.
@HamzaKhan-ku9yp
@HamzaKhan-ku9yp 5 жыл бұрын
@@SimplifiedCoding thanks man... And i also need help with something else... Suppose i want to make the roll number of a student as its unique id and store the user data under it. How do i do that?
@10tanuj1
@10tanuj1 6 жыл бұрын
but what if we verify no. that it exists and then register user
@arvindvishwakarma7800
@arvindvishwakarma7800 6 жыл бұрын
How to add new value like as age from other page . This means I want to add new value like as age of user from profile page than how I can do it please help.
@ahmedashraf6271
@ahmedashraf6271 6 жыл бұрын
if you find the solve tell me please
@arvindvishwakarma7800
@arvindvishwakarma7800 6 жыл бұрын
Okkkk
@muhammadadlinb.aliamran8917
@muhammadadlinb.aliamran8917 6 жыл бұрын
sir..how can i add log in page into this project?
@funnychannel1169
@funnychannel1169 6 жыл бұрын
how can i get the phone number and the name after login ?
@SureshKumar-kd3fx
@SureshKumar-kd3fx 6 жыл бұрын
Use different activity and class to get what ever details u need and push those data's as a object in to the firebase with the help of individual user Id. Which is shown as per this video
@yogeshpol4414
@yogeshpol4414 5 жыл бұрын
Thank u so much for this tutorial...
@nurwahyuddi4767
@nurwahyuddi4767 6 жыл бұрын
Sir. how can i create a project like yours but with phone auth.?? i need your help. please
@youcoool12
@youcoool12 5 жыл бұрын
How may i get the current users "name"
@remasteredbass-3d162
@remasteredbass-3d162 6 жыл бұрын
How to add the Uid also to the class and add it to the database ?
@aaqiljamal3932
@aaqiljamal3932 5 жыл бұрын
Hello Sir, thank you for this awesome video! can you tell us how we can login using Username and password instead of email id and password, thank you
@Aman-vx7zr
@Aman-vx7zr 6 жыл бұрын
I got this problem :a network error (such as timeout interrupted connection or unreachable host) has occurred somebody help me please!
@mohamshualh
@mohamshualh 6 жыл бұрын
how did you get the user id, when firebase only registered the user? in your code, you are asking for the user id currently logged in and there is non in this case. so the getCurrentlyUser.getUid() will give nullpointer error and the app will crash.
@SimplifiedCoding
@SimplifiedCoding 6 жыл бұрын
Every registered user has an unique id. Cross check the steps carefully
@mohamshualh
@mohamshualh 6 жыл бұрын
@@SimplifiedCoding I know every registered user has a unique id. but you getting that id through FirebaseAuth.getInstance().getCurrentUser().getUid() in this case the user has to be logged in first to get his id otherwise it will be null. you are just Creating the user which will give it the id. but to retrieve that id the user has to be logged.
@mohamshualh
@mohamshualh 6 жыл бұрын
@@SimplifiedCoding task.getResult().getUser().getUid(); this will give the user id during the registration. your code give null value maybe it's outdated.
@SimplifiedCoding
@SimplifiedCoding 6 жыл бұрын
When a user is registered successfully, it is also logged in
@bonnie5342
@bonnie5342 6 жыл бұрын
Thank you for all this man. My code worked and it has really saved a lot of my time in my school project. Thank you.
@samjones50
@samjones50 5 жыл бұрын
can you help me my data is not storing in Firebase database?
@frootyloops8200
@frootyloops8200 4 жыл бұрын
How to do this for iOS
@fakhrymubarak8957
@fakhrymubarak8957 4 жыл бұрын
You saved my day, thanks!!
@ChandanKBC100
@ChandanKBC100 6 жыл бұрын
hi bro, when i tried the same it is creating the new account but it is not saving the user information in realtime database can you help me with the issue please?
@talibsan1573
@talibsan1573 6 жыл бұрын
like for me
@ChandanKBC100
@ChandanKBC100 6 жыл бұрын
hi Talib, actually i found out the solution for myself, you just have to go to the rules section and make both read and write as != null. it worked for me, hope it would for you aswel.
@talibsan1573
@talibsan1573 6 жыл бұрын
hi Chandan my User.class add getter and setter method it is that not work.In fact work now
@markpanabe8546
@markpanabe8546 6 жыл бұрын
Hey bro, I'm new to android programming and firebase. Can you show me how you put != null in your rules?
@ManojMenpadi
@ManojMenpadi 6 жыл бұрын
it worked for me too, thanks
@justmei2855
@justmei2855 3 жыл бұрын
can some one tell me why he not key in the password also
@hoangchuvan9175
@hoangchuvan9175 5 жыл бұрын
Can you add the function of updating user photos to firebase, please
@thefilipinakhaleesi8768
@thefilipinakhaleesi8768 6 жыл бұрын
Mine keep on crashing. i did and followed everything in your tutorial. pls help me.
@SimplifiedCoding
@SimplifiedCoding 6 жыл бұрын
Check logcat and see the error
@زهيرالفيلالي
@زهيرالفيلالي 4 жыл бұрын
Hi I'm a student I want of you to help me please for doing a mobile app If a possible
@tungpham3487
@tungpham3487 2 жыл бұрын
thank u so much, i almost cried when I cant do this
@EkoPrasetyo-jm2mq
@EkoPrasetyo-jm2mq 6 жыл бұрын
Sir, how to save uid in firestore? Please help me
@shakiranavlekar6125
@shakiranavlekar6125 6 жыл бұрын
Nothing happens on button click
@Khan__Usman
@Khan__Usman 6 жыл бұрын
ok...great..... but still waiting for firebase notifications video....i hope you remember ive been desparately asking 😊
@nonamealx1085
@nonamealx1085 4 жыл бұрын
nice tutorial
@gallumieres
@gallumieres 6 жыл бұрын
How can I edit these custom fields? I need help!
@rohankhatri07
@rohankhatri07 6 жыл бұрын
Diego Martínez Goncalves make an activity called update profile and get the values from firebase database for that user in edittexts and then simply edit those values and click on submit. You'll have to know how to update values in firebase database for this.
@rebazomer5635
@rebazomer5635 5 жыл бұрын
why we donot store password ?
@toptv1681
@toptv1681 5 жыл бұрын
hi please help me i have 1 question
@SimplifiedCoding
@SimplifiedCoding 5 жыл бұрын
Say
@toptv1681
@toptv1681 5 жыл бұрын
@@SimplifiedCoding i want to create and block one user account in firebess in thunkable
@SimplifiedCoding
@SimplifiedCoding 5 жыл бұрын
Explain clearly
@toptv1681
@toptv1681 5 жыл бұрын
@@SimplifiedCoding sir. i want block one user account in firebess how we can it
@lokeshjawale1562
@lokeshjawale1562 4 жыл бұрын
Thanks man👍👍
@sabrunjamil3931
@sabrunjamil3931 6 жыл бұрын
can u make a kotlin sample of this sir?
@md.asaduzzamannur815
@md.asaduzzamannur815 6 жыл бұрын
I will not give you thank you, because it's will very small for you.. It was very important video for me... thanks a lot...
@serj5125
@serj5125 5 жыл бұрын
you are the best!
@temangoding
@temangoding 6 жыл бұрын
Thanks for share this what i need
@krisandi100
@krisandi100 6 жыл бұрын
I got no error message, tha app was forced closed. What happen?
@subrahmanyamabhishekay5871
@subrahmanyamabhishekay5871 6 жыл бұрын
Krisandi Gustaram Check in logcat
@thefilipinakhaleesi8768
@thefilipinakhaleesi8768 6 жыл бұрын
same situation
@SimplifiedCoding
@SimplifiedCoding 6 жыл бұрын
Check logcat for the error
@thefilipinakhaleesi8768
@thefilipinakhaleesi8768 6 жыл бұрын
Why is your program doing fine sir? On ours, it has an error.
@thefilipinakhaleesi8768
@thefilipinakhaleesi8768 6 жыл бұрын
Process: com.sossyann.calwasteapp, PID: 24354 java.lang.RuntimeException: Unable to start activity ComponentInfo{com.sossyann.calwasteapp/com.sossyann.calwasteapp.Registration}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.ProgressBar.setVisibility(int)' on a null object reference at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3133) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3243) at android.app.ActivityThread.access$1000(ActivityThread.java:218) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1718) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:145) at android.app.ActivityThread.main(ActivityThread.java:6917) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1404) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1199) Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.ProgressBar.setVisibility(int)' on a null object reference at com.sossyann.calwasteapp.Registration.onCreate(Registration.java:43) at android.app.Activity.performCreate(Activity.java:6609) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1134) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3086) How should I solve this sir?
@lendraerdiansah1282
@lendraerdiansah1282 4 жыл бұрын
thank you dude
@echotech0
@echotech0 Жыл бұрын
thank you
@samjones50
@samjones50 5 жыл бұрын
Sir my name,email,phone is not storing in database. kindly send me your email so i can send you screenshot
@avardanadirta790
@avardanadirta790 5 жыл бұрын
finally, thanks omg
@juniordesirebolegue8773
@juniordesirebolegue8773 5 жыл бұрын
thanks
@shahzebmushtaq1297
@shahzebmushtaq1297 6 жыл бұрын
very well
@03zeeshii
@03zeeshii 4 жыл бұрын
kzbin.info/www/bejne/bYrGZIOqaJyWpa8 shama said "tum ho dimag sy pedal" 😂🤣
@mohd.aadilads3889
@mohd.aadilads3889 6 жыл бұрын
Bhai please make video in hindi.. Thanks. Bhai how to use mysql to store data in appybuilder.. Plz reply thanks
@AnthonySlater
@AnthonySlater 6 жыл бұрын
134 chats XD
@shukalsiddharth4452
@shukalsiddharth4452 6 жыл бұрын
jakkash
FlutterFlow Custom Authentication with Xano
19:09
Xano
Рет қаралды 4,9 М.
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН
Flutter E-commerce App With Backend | Food Delivery App  | Part 1
11:59:49
Firebase Authentication | Register, Login, Signout with Email & Password
25:05
The Amazing Codeverse
Рет қаралды 38 М.
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН