Honestly one of the best tutorials, i love how you explain things its very clear and saves me alot of time. i have subscribed and excited to see more content of yours!
awesome channel for learn about flutter, i really enjoy. i have a request please give us to video series about all firebase functions. notification, chat ,etc
I dont get a recording under Authentication of the Phone number or user also get an error on device "Something went wrong" But the user is created in the Cloud firestore db - and can be created with same info multiple times.
Hi @CodingWithTea. The tutorial is very awesome. A piece of advice, please don't include complex architectures when giving tutorials. It might render difficulties for beginners to understand Let's keep the good work sir!
i have a problem Exception has occurred. FirebaseException ([cloud_firestore/permission-denied] The caller does not have permission to execute the specified operation.) help me !
In most cases it means that your user is logged out and trying to access something that is not required. It also happens when we set rules in the firebase
ArgumentError (Invalid argument(s) (onError): The error handler of Future.catchError must return a value of the future's type) in the userRepostory => createUser(userModel user) async { await _db..... } I am getting this error.
One this more.. before I implement another method then OTP is working i mean I use testing otp but now in your code is not working. although now OTP is paid so I am not recieving OTP from firebase. so is that the reason OTP is not working in your code?
@@bloomingtonsdirect6921 problem solve ho gai ?? purchase karne ke baad... kyuki mujhe bhi same problem aa rhi hai sab theek se work kar rha hai lekin OTP nhi aa rha.. plz reply fast if you are free... i am waiting bro.
Hello, I got a problem, the user's data isn't storing on Firebase even tho I'm pointing to the database I think, do I have to put a path in the firebase? Because mines appears like Default and it doesn't have a name like yours, when I sign up it appears it succed but then failed, the two massages from exception appear and it doesn't store anything, please help :(
I suggest you to go through these 2 to 3 videos of this playlist and you'll hopefully handle everything ❤️. Flutter Firebase Course | Firebase Mastery: ruclips.net/p/PL5jb9EteFAODGVTOQv8Ch-OS-19897E0V
Hello! I've been following this code from the start, sadly on this part I got the error snackbar instead despite following your instructions. Is there a work around on this?
Dear @CodingWithTea I hope this message finds you in good health and high spirits. I wanted to take a moment to express my deepest gratitude for the incredible tutorials you have been providing on Flutter Login App development. Your dedication and expertise have made a profound impact on my learning journey, and I cannot thank you enough. Your tutorials have been nothing short of exceptional. Your clear explanations, step-by-step guidance, and attention to detail have made it so much easier for me to grasp the intricacies of building a Flutter Login App. I truly appreciate the time and effort you put into creating these tutorials, ensuring that even beginners like me can follow along and understand the concepts. Through your videos, you have not only taught me technical skills but also inspired me to push my boundaries and pursue my passion for app development. Your enthusiasm and passion for Flutter are contagious, and it has motivated me to dive deeper into this amazing framework. Your words of encouragement and practical tips have given me the confidence to explore new possibilities and experiment with different ideas. I want you to know that your contributions have made a significant difference in my learning experience. Thanks to your tutorials, I have been able to create my own Flutter Login App, which I'm proud to showcase. It is an accomplishment I wouldn't have achieved without your guidance. Once again, I am truly grateful for your commitment to sharing knowledge and empowering learners like me. You have made a positive impact not just on my technical skills, but also on my mindset and attitude towards learning. Please continue doing what you do best, as your tutorials are an invaluable resource for the Flutter community. Wishing you continued success in all your endeavors. You are an inspiration to aspiring developers like me, and I am eager to see what amazing content you'll create in the future.
Hello, i followed all your tutorials, but i can't figure out how to store the uid in firestore along side with the informations of the signup form, please can you help me?
I am experiencing issues while registering , with data being sent to createUser (user document in cloud firestore) even when there's a validation error during regiteration, is there any solution ?
You have to write return; when home validation is not completed. Currently you are missing I think the return statement inside the form validation so you just had to use the if statement and using the if statement you have to write if form not valid then in the brackets of the if simply return and that's it.
@@CodingwithT ElevatedButton( onPressed: () { if (_formKey.currentState!.validate()) { Signupcontroller.instance.registerUser( controller.email.text.trim(), controller.password.text.trim()); final user = Usermodel( username: controller.username.text.trim(), email: controller.email.text.trim(), password: controller.password.text.trim()); Signupcontroller.instance.createUser(user); } else { ScaffoldMessenger.of(context).showSnackBar(SnackBar( content: Text( 'Please fill in all required fields.'))); } }, style: ElevatedButton.styleFrom( primary: Colors.indigo, ), child: Text("Register"), ), is it like this ?
Honesstly thiss tutorial is amazing, i just have 1 problem , when using the otp verificatinocode after singingup , the identifier stored in the authentication in firebase is the phonumber not the email, so i am not able anymore to ssign in with email and password, isss there a way to link phonenumber and email together to be albe using any of them? Thankss ahead for any reply
Thank you, to do this you have to first verify your email as well for authentication. So after signup when you verify the phone number. You can simply call email and password authentication function which will do the email password authentication also. If you want to do e-mail verification also then also send the email verification link to verify email and after that let the user log in using any method. Otherwise you can show them the message on the Login screen, 'Your email is not verified, please verify to use Email as a Login.
Dear these are two different things. Firebase Authentication is used to authenticate and when users register via email, gmail, facebook etc then their data is being stored in authentication. Once the user is authenticated, we can store their data in firestore
@@CodingwithT Thank you, I was able to understand it. I had to ask another question. How can i change the profile section ui according to the type of the user registered in the firebase? For ex. if I had two types - user and brand?
Hello, I came in this course so far by liking every video except this one, I understand it's your effort and I respect it. But in this video there is lack of explanatation, and many of the exception and error handling codes we dont have also phoneAuthentication
So to summarize I am not able to complete the course, you know maybe I should be able to it on my own if I want to learn but once you follow someone elses code until %95 percent and it's hard to find the motivation to fix it. :(
Thank you for such a great message. I appreciate your honesty and will try to fix it. If there is still any confusion, You can contact me at support@codingwitht.com or WA +923178059528
You might have open rules for firebase firestore and they are just going to change the rules after 2 days. Firestore is free until you hit limits. So no need to be worried. 😁
@@CodingwithT please can i message you for the code as well? I am finding the phoneNo verification difficult. I keep getting something went wrong and I've tried as much as possible to resolve it but i am unable to. I currently do not have the money to purchase the code.
hey hello, I have a small error I put: final user = UserModel( email: controller.email.text.trim(), password: controller.password.text.trim(), fullName: controller.fullName.text.trim(), phoneNo: controller.phoneNo.text.trim(), ); SignUpController.instance.phoneAuthentication(user.phoneNo); but user.phoneNo shows as error
Honestly one of the best tutorials, i love how you explain things its very clear and saves me alot of time. i have subscribed and excited to see more content of yours!
Thank you so much 😊. I am glad they are helpful and will try to keep the same 😆
awesome channel for learn about flutter, i really enjoy. i have a request please give us to video series about all firebase functions. notification, chat ,etc
I'm thinking 🤔 about it. I guess i should create that series.
@@CodingwithT definitely do it !
thank you bro, what a great tutorial. plain and simple .🙏🙏🙏
Thank you for your kind words. I am glad that my videos are helpful for you.
I dont get a recording under Authentication of the Phone number or user also get an error on device "Something went wrong" But the user is created in the Cloud firestore db - and can be created with same info multiple times.
Hi @CodingWithTea.
The tutorial is very awesome.
A piece of advice, please don't include complex architectures when giving tutorials. It might render difficulties for beginners to understand
Let's keep the good work sir!
Noted 😃
Thanks buddy your content helps us a lot. ❤🎉
I'm glad it's helpful 😁
masyAllah the best bro
Thank you again 😌
im trying to put the image on the same user document, how can i do it please, can you send me your video link or just can you make a video about it
It’s already done ✔️. Can you please watch my ecommerce app playlist in which you will be able yo find this
i have a problem
Exception has occurred.
FirebaseException ([cloud_firestore/permission-denied] The caller does not have permission to execute the specified operation.)
help me !
In most cases it means that your user is logged out and trying to access something that is not required. It also happens when we set rules in the firebase
@@CodingwithT Thank you the problem has been solved
Ok
I cannot find the folder "src" in the lib directory. Any idea?
It's just a folder which I created myself. If it's not there, it's Ok.
Thank you for you reply!@@CodingwithT
Baraka allahu fik, may Allah bless you with happiness and good health🙏
Thank you so much 🥰😃
ArgumentError (Invalid argument(s) (onError): The error handler of Future.catchError must return a value of the future's type)
in the userRepostory => createUser(userModel user) async {
await _db.....
}
I am getting this error.
Not sure with this much of code.
It’s something with how you are handling the error
One this more.. before I implement another method then OTP is working i mean I use testing otp but now in your code is not working. although now OTP is paid so I am not recieving OTP from firebase. so is that the reason OTP is not working in your code?
OTP is now also limited and cannot be tested in some countries.
@@CodingwithT I have purchased a blaze plan for firebase.
@@bloomingtonsdirect6921 problem solve ho gai ?? purchase karne ke baad... kyuki mujhe bhi same problem aa rhi hai sab theek se work kar rha hai lekin OTP nhi aa rha.. plz reply fast if you are free... i am waiting bro.
Hello, I got a problem, the user's data isn't storing on Firebase even tho I'm pointing to the database I think, do I have to put a path in the firebase? Because mines appears like Default and it doesn't have a name like yours, when I sign up it appears it succed but then failed, the two massages from exception appear and it doesn't store anything, please help :(
I suggest you to go through these 2 to 3 videos of this playlist and you'll hopefully handle everything ❤️.
Flutter Firebase Course | Firebase Mastery: ruclips.net/p/PL5jb9EteFAODGVTOQv8Ch-OS-19897E0V
Hello! I've been following this code from the start, sadly on this part I got the error snackbar instead despite following your instructions. Is there a work around on this?
same
Dear @CodingWithTea
I hope this message finds you in good health and high spirits. I wanted to take a moment to express my deepest gratitude for the incredible tutorials you have been providing on Flutter Login App development. Your dedication and expertise have made a profound impact on my learning journey, and I cannot thank you enough.
Your tutorials have been nothing short of exceptional. Your clear explanations, step-by-step guidance, and attention to detail have made it so much easier for me to grasp the intricacies of building a Flutter Login App. I truly appreciate the time and effort you put into creating these tutorials, ensuring that even beginners like me can follow along and understand the concepts.
Through your videos, you have not only taught me technical skills but also inspired me to push my boundaries and pursue my passion for app development. Your enthusiasm and passion for Flutter are contagious, and it has motivated me to dive deeper into this amazing framework. Your words of encouragement and practical tips have given me the confidence to explore new possibilities and experiment with different ideas.
I want you to know that your contributions have made a significant difference in my learning experience. Thanks to your tutorials, I have been able to create my own Flutter Login App, which I'm proud to showcase. It is an accomplishment I wouldn't have achieved without your guidance.
Once again, I am truly grateful for your commitment to sharing knowledge and empowering learners like me. You have made a positive impact not just on my technical skills, but also on my mindset and attitude towards learning. Please continue doing what you do best, as your tutorials are an invaluable resource for the Flutter community.
Wishing you continued success in all your endeavors. You are an inspiration to aspiring developers like me, and I am eager to see what amazing content you'll create in the future.
Really an exceptional message dear. I'm really grateful for your love and support 💕
The numbers of id from where can i get it?
Sorry?
hi just wanted ask i follow the tutorial as is but both email and phone number are not saved in authentication but only the number and not the email
Hello, i followed all your tutorials, but i can't figure out how to store the uid in firestore along side with the informations of the signup form, please can you help me?
I am experiencing issues while registering , with data being sent to createUser (user document in cloud firestore) even when there's a validation error during regiteration, is there any solution ?
You have to write return; when home validation is not completed. Currently you are missing I think the return statement inside the form validation so you just had to use the if statement and using the if statement you have to write if form not valid then in the brackets of the if simply return and that's it.
@@CodingwithT ElevatedButton(
onPressed: () {
if (_formKey.currentState!.validate()) {
Signupcontroller.instance.registerUser(
controller.email.text.trim(),
controller.password.text.trim());
final user = Usermodel(
username: controller.username.text.trim(),
email: controller.email.text.trim(),
password: controller.password.text.trim());
Signupcontroller.instance.createUser(user);
} else {
ScaffoldMessenger.of(context).showSnackBar(SnackBar(
content: Text(
'Please fill in all required fields.')));
}
},
style: ElevatedButton.styleFrom(
primary: Colors.indigo,
),
child: Text("Register"),
),
is it like this ?
Honesstly thiss tutorial is amazing, i just have 1 problem , when using the otp verificatinocode after singingup , the identifier stored in the authentication in firebase is the phonumber not the email, so i am not able anymore to ssign in with email and password, isss there a way to link phonenumber and email together to be albe using any of them? Thankss ahead for any reply
Thank you, to do this you have to first verify your email as well for authentication.
So after signup when you verify the phone number. You can simply call email and password authentication function which will do the email password authentication also.
If you want to do e-mail verification also then also send the email verification link to verify email and after that let the user log in using any method.
Otherwise you can show them the message on the Login screen, 'Your email is not verified, please verify to use Email as a Login.
My user data gets successfully stored inside firebase store but not available in the authentication table!! how can I resolve this?
Dear these are two different things.
Firebase Authentication is used to authenticate and when users register via email, gmail, facebook etc then their data is being stored in authentication.
Once the user is authenticated, we can store their data in firestore
@@CodingwithT Thank you, I was able to understand it. I had to ask another question. How can i change the profile section ui according to the type of the user registered in the firebase? For ex. if I had two types - user and brand?
That's simple, keep the role entry in every user collection and in the code you can add a check if role == user do something
Hello, I came in this course so far by liking every video except this one, I understand it's your effort and I respect it. But in this video there is lack of explanatation, and many of the exception and error handling codes we dont have also phoneAuthentication
So to summarize I am not able to complete the course, you know maybe I should be able to it on my own if I want to learn but once you follow someone elses code until %95 percent and it's hard to find the motivation to fix it. :(
Thank you for such a great message. I appreciate your honesty and will try to fix it.
If there is still any confusion, You can contact me at support@codingwitht.com or WA +923178059528
it works but when it reloads it goes back to the login screen
i havev error
SMS verification code request failed: unknown status code: 17010 null
I think your number is temporarily blocked due to too many verifications.
How i unblock?
hello tea, please i got an email saying i have. 2 days. left for my firestore,what does it mean
You might have open rules for firebase firestore and they are just going to change the rules after 2 days. Firestore is free until you hit limits. So no need to be worried. 😁
How to do login ? Please help . I am not able to use my login button
Have you called the login function the way we did for signup?
Can u provide the code of phone authentication its not working in video u provided
Phone auth changed over the time and now it works in some countries and don’t in some.
hi can you add images as one of the data to be retrieved
Yes sure. Will create video on store and retrieve images
Hello sir i cant see my data in the cloud firestore
Check the Updated Playlist of e-commerce and follow the backend section
please create a tutorial for login and registration with phone number with this project
How to add two project in one
Nice
Thanks ✌️
since you only show us the SignUp with firebase plz show login too
Dear, you just have to call Login the same way we did for signup
Hey bishal did you get the login with firebase ?
T this is so complicated lol why cant firebase just make doing this easier wow !!!
I am bit confused 😕, it’s easier or difficult?
what if user offline?
You can use ConnectivityManager to handle the Internet state.
walekumassalam rehemetullahi barakatu
i need code please , i don
t have money
Please reach me at support@codingwitht.com or Whatsapp at +923178059528
@@CodingwithT please can i message you for the code as well? I am finding the phoneNo verification difficult. I keep getting something went wrong and I've tried as much as possible to resolve it but i am unable to.
I currently do not have the money to purchase the code.
hey hello, I have a small error I put:
final user = UserModel(
email: controller.email.text.trim(),
password: controller.password.text.trim(),
fullName: controller.fullName.text.trim(),
phoneNo: controller.phoneNo.text.trim(),
);
SignUpController.instance.phoneAuthentication(user.phoneNo);
but user.phoneNo shows as error
The argument type 'String?' can't be assigned to the parameter type 'String'.
I solved the problem by doing user.phoneNo! not sure it will work but we will try
Yes it'll work. Only need to add ! To handle null values. It's a null safety approach.