Тёмный
No video :(

Build Flutter Chat App with Firebase Auth & Firestore Part 2/4 | Flutter Tutorial For Beginners 

Sanskar Tiwari
Подписаться 24 тыс.
Просмотров 89 тыс.
50% 1

Опубликовано:

 

26 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 347   
@caramel3451
@caramel3451 3 года назад
In database code, some commands have been updated. 🔹Firebase has been changed to FirebaseFirestore command. 🔹getDocument() has been changed to get() 🔹document() has been changed to doc(). 🔹setData() has been changed to set(). I hope these updated commands help you to code faster 💫
@Johan-jd6kx
@Johan-jd6kx 3 года назад
thank you so much
@nithinkundapura7660
@nithinkundapura7660 3 года назад
bro how to initialize QuerySnapshot. it shows error. i have used late keyword but didnt work
@apoloaxe4742
@apoloaxe4742 2 года назад
@@nithinkundapura7660 did you fix that error?? I have same your problem
@nithinkundapura7660
@nithinkundapura7660 2 года назад
@@apoloaxe4742 yeah i have fixed that error.
@apoloaxe4742
@apoloaxe4742 2 года назад
@@nithinkundapura7660 please let me see how to fix, i tried fix in 3 hour
@MockMoji860
@MockMoji860 4 года назад
Hey, I just want to tell you that your tutorial saved me. :) I was looking for flutter firestore tutorials and most of them are too complicated. I loved that you are showing the errors because we see how it is in real life. Awesome work!
@indianappguy
@indianappguy 4 года назад
I am glad I could help, if you find these helpful do consider sharing it really motivates me to create more
@datumbronzer7302
@datumbronzer7302 4 года назад
Thank you so much for this tutorial! Helped me understand the authentication with firebase which was previously very confusing for me. Keep up the good work! :)
@indianappguy
@indianappguy 4 года назад
I am happy I can help, if you think my tutorial adds value do consider sharing them with friends and colleagues
@jayantdhingra4863
@jayantdhingra4863 4 года назад
You are doing a great job. If teachers like you will lead the students then India will surely grow. Thanks a lot for your effort
@indianappguy
@indianappguy 4 года назад
Thanks a lot for your kind words Jayant
@abdurrahmandemiri1766
@abdurrahmandemiri1766 3 года назад
Thanks for the tutorial Sanskar, appriciate it. I need to add a few more things. Firstly, when you create your own 'textStyle widget' just implement a consturctor for the 'fontSize'. In constructor you could take an integer as a parameter and assign it to 'fontSize'. Thus, you avoid redundancy. Secondly, when you create the sign in and sign up pages. You didn't consider about some errors. Like, if user already signed in, prevent re-register. Also, in sign in page, if email and password do not match it will sign you in anyway.
@indianappguy
@indianappguy 3 года назад
Yup the sign up and sign in things were intentional I wanted to save time and show the main feature but yes will try to include from upcoming tutorials
@rishir2865
@rishir2865 4 года назад
Awesome stuff man! Really handy for my CS project on app dev, pls make more vids like this! Really thankful for the learning as well. Perhaps u could extend it towards creating a chat history, having notifications, etc..
@indianappguy
@indianappguy 4 года назад
Thanks, will consider that
@norlandmfm7936
@norlandmfm7936 3 года назад
Your channel is dope. This is actually insane to have access to these high quality pieces of informations. I learn so much content thanks to you. Thank you very much 🙏 🙏
@indianappguy
@indianappguy 3 года назад
Glad you enjoy it!
3 года назад
Can you please help me to solve my database problem.
@akhileshgoswami9497
@akhileshgoswami9497 3 года назад
E/flutter (21220): [ERROR:flutter/lib/ui/ui_dart_state.cc(186)] Unhandled Exception: type '_MapStream' is not a subtype of type 'QuerySnapshot'
@hiteshchikhlondhe1618
@hiteshchikhlondhe1618 2 года назад
Sir I love your teaching style, you explain everything in your video. But I am facing problem while following your this tutorial, because packages are updated. Can you make updated video on this...
@indianappguy
@indianappguy 2 года назад
Sure will try
@m.shehryar5341
@m.shehryar5341 4 года назад
I really appreciate the effort you made in this series. I just have to point one thing out that because of no planning, the structure of the app is all over the place. If you create a step by step plan this wouldn't happen. Other than that keep up the hard work
@indianappguy
@indianappguy 4 года назад
Good point! i will make sure that
@SinghsDuOs
@SinghsDuOs 3 года назад
in 01:04:30 it gives me exception handling that (type 'String' is not a subtype of type 'QuerySnapshot' in type cast) if I give searchsnaphot = val as QuerySnapshot and if I give searchsnapshot = val then it give me error at val and show String' can't be assigned to a variable of type 'QuerySnapshot'....help me in this
@vikasbahuguna7476
@vikasbahuguna7476 3 года назад
Check for your method where you have used , replace it with and it will work!
@minhajulislamapu4644
@minhajulislamapu4644 4 года назад
Your have very good quality and you are enough capable to present it in an easy way.But there always I suffer for sound quality. Sound quality too much low . Next time please consider it before making videos. Thank you
@caramel3451
@caramel3451 3 года назад
I love your videos!!! You explain so well!!! I would love to have a course from you, I am willing to pay for this quality content!! 🙌🙌🙌
@indianappguy
@indianappguy 2 года назад
Thanks Caramel, I did a 15 day live teaching building 5 apps send me a mail at contact@sanskar.dev i will share for free. if you like to support you can www.buymeacoffee.com/sanskartiwari
@yash-5711
@yash-5711 3 года назад
searchResultSnapshot.docs[index].data()["userName"] :- error in this,line, red line below username, please help ... thnx in advance
@kamalkishorkumar4278
@kamalkishorkumar4278 3 года назад
Getting the same
@yash-5711
@yash-5711 3 года назад
@@kamalkishorkumar4278 just replace existing lines with these in ur code return userTile( searchResultSnapshot.docs[index].data().toString().substring(searchResultSnapshot.docs[index].data().toString().indexOf(','), searchResultSnapshot.docs[index].data().toString().indexOf('}')).replaceAll('{userEmail:', '').replaceAll('userName:', '').replaceAll('}', '').replaceAll(',', ''), searchResultSnapshot.docs[index].data().toString().substring(searchResultSnapshot.docs[index].data().toString().indexOf(':'), searchResultSnapshot.docs[index].data().toString().indexOf(',')).replaceAll('{userEmail:', '').replaceAll('userName:', '').replaceAll('}', '').replaceAll(':', ''), );
@tanmay8618
@tanmay8618 3 года назад
Yash bro nhi smjha thoda properly baata de code
@yash-5711
@yash-5711 3 года назад
@@tanmay8618 bro .. yeh do maine bheja h na .... return usertile se copy krlo end tak and .. apne existing code me replace krdo
@sanchakshkaul2357
@sanchakshkaul2357 3 года назад
yeah i don't know how but this works..... LOL
@hamadkhan7056
@hamadkhan7056 3 года назад
Bro appreciated your work but when you do some coding then run it otherwise viewer will confuse that what is happening on UI side..
@indianappguy
@indianappguy 3 года назад
okay
@kalpanakumari8808
@kalpanakumari8808 4 года назад
You are Awesome Tiwari, Thanks for this long tutorial
@indianappguy
@indianappguy 4 года назад
Thanks a lot Kalpana, I am glad you liked it
@aftabahmadawan9362
@aftabahmadawan9362 2 года назад
appreciation from pakistan....nice potential bro😄
@indianappguy
@indianappguy 2 года назад
Thank you so much 😀
@dhruvpatel9752
@dhruvpatel9752 4 года назад
This Man is simply Awesome. !!!
@indianappguy
@indianappguy 4 года назад
Thanks a lot Dhruv it means a lot
@FlorinRobertBringTheChill
@FlorinRobertBringTheChill 4 года назад
ty and try pls to increase your audio/voice quality
@indianappguy
@indianappguy 4 года назад
Sure will robert thanks a lot for feedback
@md.abdulmotin383
@md.abdulmotin383 3 года назад
Try watching with captions turned on.
@dipsonutube
@dipsonutube 3 года назад
This is awesome! Thanks! I found the link to the written tutorial for part 1 but am not able to find for parts 2,3,4. Can you please share that too. I get better understanding by reading at my pace. Thanks!
@indianappguy
@indianappguy 3 года назад
Actually have not written give me some time will write ✍️
@dipsonutube
@dipsonutube 3 года назад
@@indianappguy thanks... God bless you!! You deserve you cup of coffee👍👍
@dondeeves9762
@dondeeves9762 3 года назад
Thank u sanskar for sharing this video , but when I run , a message is created at the terminal saying that [firebase_auth/unknown] com.google.firebase.FirebaseException: An internal error has occurred. [ CONFIGURATION_NOT_FOUND ] Can u please help me with this
@kartdude394
@kartdude394 4 года назад
I got this error after sign up trying to get to the chat room screen.. What did I do wrong? The method 'then' was called on null. Receiver: null Tried calling: then(Closure: (dynamic) => Null
@nullified__
@nullified__ 4 года назад
Future getUserByName(String username){ return Firestore.instance.collection('users').where("name", isEqualTo: username).getDocuments(); } use that code
@me_har
@me_har 4 года назад
what if we want to make group chat
@samson1964
@samson1964 3 года назад
Thank you. superb.. brother keep going and all the best
@indianappguy
@indianappguy 3 года назад
Thank you so much 🙂 do check out other videos i have on the channel i am sure you will find many quite helpful
@RNMERIA
@RNMERIA 4 года назад
thank you Sanskar, but next time if possible plz consider a node api backend .
@kayceenate6818
@kayceenate6818 4 года назад
Great tutorial. Please I've been getting this error, 'The operator '[]' isn't defined for the type 'Map Function()'. Can anyone help me?
@cripz4203
@cripz4203 4 года назад
this basically means that your program is trying to print data before actually getting or completing the operation of getting the data. I also faced this once and I ended up using two nested future builders to solve the problem - one for only rendering when the data is received and the other for confirming that data is not null and rendering the page.
@itaintcal
@itaintcal 4 года назад
replace searchSnapshot.docs[index].data["name"] with searchSnapshot.docs[index].data()["name"] ^ add this a firebase update caused that issue
@SinghsDuOs
@SinghsDuOs 3 года назад
@@itaintcal in 01:04:30 it gives me exception handling that (type 'String' is not a subtype of type 'QuerySnapshot' in type cast) if I give searchsnaphot = val as QuerySnapshot and if I give searchsnapshot = val then it give me error at val and show String' can't be assigned to a variable of type 'QuerySnapshot'....help me in this if you have knowledge regarding this
@rahulchowdhury279
@rahulchowdhury279 2 года назад
@@itaintcal this isn't working
@pr0fess0rop18
@pr0fess0rop18 2 года назад
@@itaintcal now it gives null error
@decentralizedkhan
@decentralizedkhan 2 года назад
19:47 as I mentioned before the scaffold is something which has all these material widget built-in
@kaleemqureshi8641
@kaleemqureshi8641 3 года назад
Hello, great tutorial, but can you help to figure out how to send chat notification to the concern person , please advise ?
@usharani.vallapalli1216
@usharani.vallapalli1216 3 года назад
Really I enjoyed a lot the way u explained very very nice especially when did mistake nd laughing nd saying bla bla bla....haha thanq making me laugh.
@indianappguy
@indianappguy 3 года назад
I am glad you liked it do share
@usharani.vallapalli1216
@usharani.vallapalli1216 3 года назад
@@indianappguy have doubt im not getting sendBy value Constants.myName always coming empty can you explain this
@indianappguy
@indianappguy 3 года назад
Make sure the key is same in your database when uploading
@indianappguy
@indianappguy 3 года назад
Need to see code to tell more in details
@usharani.vallapalli1216
@usharani.vallapalli1216 3 года назад
@@indianappguy I got it. Thank you so..much. Ur really awesome,🤗
@baranozpaksoy5984
@baranozpaksoy5984 4 года назад
Hey Sanskar really like your tutorial!
@indianappguy
@indianappguy 4 года назад
Thanks Baran
@mahimachhagani7518
@mahimachhagani7518 3 года назад
Getting this error when i type anything in the search bar W/IInputConnectionWrapper( 6223): beginBatchEdit on inactive InputConnection W/IInputConnectionWrapper( 6223): getTextBeforeCursor on inactive InputConnection W/IInputConnectionWrapper( 6223): getTextAfterCursor on inactive InputConnection W/IInputConnectionWrapper( 6223): getSelectedText on inactive InputConnection
@ernestolebni9622
@ernestolebni9622 2 года назад
I'm confused, i observe that you jump directly from Sign Up to Chat Rooms Page, so in what part do you implement login function? *I'm a beginner in english so it was a little bit hard to me.
@phuongtrunguc4772
@phuongtrunguc4772 3 года назад
when signout router to signin, why we dont use pushReplacement instead ???. Thank for your video. It's very useful for me
@nature__filters7029
@nature__filters7029 2 года назад
hey.. I am getting below error.. LateInitializationError: Field 'searchSnapshot' has not been initialized. and if I am not adding late modifier to searchSnapshot , even then getting error.. Please help!! Solution: define searchSnapshot as below QuerySnapshot? searchSnapshot; this has resolved the issue for me.
@namthuannguyen8332
@namthuannguyen8332 2 года назад
did you solve it yet ?
@namthuannguyen8332
@namthuannguyen8332 2 года назад
i have a same problems :(
@nature__filters7029
@nature__filters7029 2 года назад
@@namthuannguyen8332 yes.. define searchsnapshot as below QuerySnapshot? searchSnapshot; this has resolved the issue for me.
@fedybelaid4358
@fedybelaid4358 2 года назад
@@nature__filters7029 I tried everything and still didn't work for me, can you take a look at my code?
@nature__filters7029
@nature__filters7029 2 года назад
@@fedybelaid4358 yeah sure.. can you share the code?
@kishandeshani8399
@kishandeshani8399 2 года назад
search option is not working, no data find when firebase is showing users
@HaiJieBoy
@HaiJieBoy 2 года назад
hi, did you manage to resolve it?
@indianappguy
@indianappguy 2 года назад
check console its new query you need to create it in firestore
@dhirajdarakhe3808
@dhirajdarakhe3808 2 года назад
Can someone help me, I'm getting an error while making an instance of querySnapshot,
@indianappguy
@indianappguy 2 года назад
Still facing the issue?
@fawadahmed2306
@fawadahmed2306 4 года назад
flutter is understandable but firebase part is complicated
@indianappguy
@indianappguy 4 года назад
It happens with all of us just give it time
@jayprajapati9
@jayprajapati9 4 года назад
please upload the video about more than 5 pages navigation in flutter
@indianappguy
@indianappguy 4 года назад
okay
@sanjaykumaryadav1887
@sanjaykumaryadav1887 3 года назад
its giving an error firebase methods called on null object ie null pointer exception while signing up can anyone help as soon as possible
@bryanhunsberger
@bryanhunsberger 2 года назад
I'm curious about Firebase and reads. As I understand it, every individual message gets its own doc, which will translate to a read for every message. So whenever a user enters a chatroom, it will create a new read for every message ever sent or received all over again. So if a room has 50 messages in it, every time a user enters, you will be billed for 50 reads. Am I misunderstanding this? Best methods to minimize these reads? This structure seems untenable.
@indianappguy
@indianappguy 2 года назад
This is the best option with firebase database
@pavanrk9552
@pavanrk9552 3 года назад
best tutorial ever...!!!!!
@indianappguy
@indianappguy 2 года назад
thanks Pavan do share
@unus8731
@unus8731 3 года назад
Starting from the auth.dart setting, it doesn't start at all. (1) User calls redundantly. (2) Firebase input is wrong. , how do i do
@aarnavpant3618
@aarnavpant3618 3 года назад
i tried replacing the map a lot of places but still cant enter data in the firestore
@decentralizedkhan
@decentralizedkhan 2 года назад
38:50 this is call key and this is call value(on firebase)
@decentralizedkhan
@decentralizedkhan 2 года назад
1:14:53 Shared Preferences
@jovanemullings
@jovanemullings 3 года назад
why use gesture detector and not inkwell and what's the deference ?
@indianappguy
@indianappguy 3 года назад
inkwell have this ripple effect of material design while gesture detector does not so depending on what you like you can use inkwell as well i will suggest to go give it a try just change Geaturedetector with inkwell and run the code and see yourself
@uzairelahi5550
@uzairelahi5550 4 года назад
hi thankss ... i am getting error in chatscreen which is A build function returned null. can u plz help me out
@instrumental_box
@instrumental_box 4 года назад
Please Mr Sanskar I need your help. While implementing the search by username methods I got this error "The method 'where' isn't defined for the type 'CollectionReference' ".I'm on VsCode and its propose me to change the 'where' method into 'whereIn'. I also tried but it is worst.
@sebbo8034
@sebbo8034 4 года назад
Hey Sanskar, I want to switch between 3 mainpages with icons like you did with signin and signup. But i have no idea how to do that. Can someone help me?
@pr0fess0rop18
@pr0fess0rop18 2 года назад
buddy update the changes we need to do for latest flutter version
@indianappguy
@indianappguy 2 года назад
check this on ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-2d1fslyxBjQ.html
@divyanshjangir
@divyanshjangir 3 года назад
W/DynamiteModule( 8045): Local module descriptor class for providerinstaller not found. I/DynamiteModule( 8045): Considering local module providerinstaller:0 and remote module providerinstaller:0 W/ProviderInstaller( 8045): Failed to load providerinstaller module: No acceptable module found. Local version is 0 and remote version is 0 i am getting this error clicking search button. i have latest flutter and dart version. plz help me
@bhavanakondeti2433
@bhavanakondeti2433 4 года назад
In my output I am getting null I am not getting Instance of user
@czqz2250
@czqz2250 4 года назад
thx a lot for ur effort.
@RiseAgainstWhat123
@RiseAgainstWhat123 4 года назад
Hey mate awesome video! I was wondering. I'd like to do all the downloading of QuerySnapshots in a controller rather than the view.dart file. This issue I am finding is that if I am changing values in a different class than the _SearchState I have no way to setState (rebuild the widget) once the values are downloaded. Are you able to provide any guidance on this? I'm getting the feeling Flutter just isn't built to separate out a view and it's controller but I much prefer writing code that way.
@abdullahmohammadshakib7782
@abdullahmohammadshakib7782 3 года назад
Would you like to update the firebase_auth and cloud_firestore info in the files please?
@blackman2492
@blackman2492 3 года назад
My sign up button and register now button is not working what can i do 😭😭😭😭😭 ?
@sanjeevayyagari7060
@sanjeevayyagari7060 4 года назад
how did u able to run your app showing an error in build.gradle
@RaviPrajapati-ih4js
@RaviPrajapati-ih4js 4 года назад
Thanks a lot bro
@indianappguy
@indianappguy 4 года назад
Always welcome
@bhargavdobariya5859
@bhargavdobariya5859 2 года назад
some commands updated like :- FirebaseFirestore instead of Firestore
@timzimmer5485
@timzimmer5485 3 года назад
Can you make a Video where you implement end to end encryption ?
@ahamed_nazeer
@ahamed_nazeer 3 года назад
please help me i am getting this error I/flutter (11829): [firebase_auth/unknown] Given link is not a valid email link. Please use FirebaseAuth#isSignInWithEmailLink(String) to determine this before calling this function I/flutter (11829): null
@yajnapandith1211
@yajnapandith1211 4 года назад
How to resolve this error "I/flutter (17910): PlatformException(ERROR_USER_NOT_FOUND, There is no user record corresponding to this identifier. The user may have been deleted., null) "
@soumyasouravpatnaik2246
@soumyasouravpatnaik2246 4 года назад
Please make sure the email id and Password is created in Firestore before its passed through the Form. The instructor missed this step and was not much clear on this. And make sure to use print(${val.userId}) in signup.dart
@hafeez-rana
@hafeez-rana 3 года назад
@@soumyasouravpatnaik2246 broh im facing this error too but dont know how to resolve it
@HaiJieBoy
@HaiJieBoy 2 года назад
Hey, are there any ways that i can search the user by username and email instead of just having one method?
@indianappguy
@indianappguy 2 года назад
sure you can run two functions and return the data from both, that way you can have a fucntion which make a search via username and other via email does that answer your questions?
@bernaakoglu2439
@bernaakoglu2439 3 года назад
Please help me. I looked at the comments but it didn't help. Widget searchList() { return searchSnapshot != null ? ListView.builder( itemCount: searchSnapshot.docs.length, shrinkWrap: true, itemBuilder: (context, index) { return SearchTile( /* Error*/ userName: searchSnapshot.docs[index].data()["name"], /* Error*/ userEmail: searchSnapshot.docs[index].data()["email"], ); }) please help me. Error: Error: The operator '[]' isn't defined for the class 'Object'. - 'Object' is from 'dart:core'. Try correcting the operator to an existing operator, or defining a '[]' operator. userName: searchSnapshot.docs[index].data()["name"],
@mostcoca
@mostcoca 3 года назад
change late QuerySnapshot searchSnapshot to late QuerySnapshot searchSnapshot;
@caramel3451
@caramel3451 3 года назад
I am having the same issue, could you help me out?
@Johan-jd6kx
@Johan-jd6kx 3 года назад
@@mostcoca thank you
@reetammaity8846
@reetammaity8846 2 года назад
even after signup successfully User Details are not showing in authentication in firebase ....solution pleas e
@indianappguy
@indianappguy 2 года назад
this is old now check ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-2d1fslyxBjQ.html
@kaneluu3842
@kaneluu3842 4 года назад
So, I have been working on the searching user section but when I type in and press the button, it doesn't show any user's information at all. It is like the whole SearchTile class is not working since. Can anyone help me with this? Thank you.
@nullified__
@nullified__ 4 года назад
Have you added the SearchList() inside of the Column?
@niteshsingh48
@niteshsingh48 3 года назад
Bro i am facing same problem now please help me if you solved this issue..
@akshayeesarapu1715
@akshayeesarapu1715 3 года назад
Same problem
@tulikatayal9062
@tulikatayal9062 4 года назад
Love the detailing
@sudhvinaas3197
@sudhvinaas3197 4 года назад
Mam did it work for you?
@tulikatayal9062
@tulikatayal9062 4 года назад
@@sudhvinaas3197 Hi I didn't make the chat part just the firebase connection . Are u having issues in solving the errors?
@sudhvinaas3197
@sudhvinaas3197 4 года назад
@@tulikatayal9062 Yeah mam
@sudhvinaas3197
@sudhvinaas3197 4 года назад
@@tulikatayal9062 Actually I completed almost last 2 errors were there,I had problem with emulator as well as device ,couldn't see output at all.By making trial and error to fix it, from two errors it has increased to more suddenly. I don't know what to do now😳
@tulikatayal9062
@tulikatayal9062 4 года назад
@@sudhvinaas3197 😂debugging is always the problem what were the errors?
@robertom7577
@robertom7577 4 года назад
Great job Sir. Firebase database ok but on Authentication no users added.
@biru8702
@biru8702 3 года назад
Add .trim() in your email
@vigneshlesnar2602
@vigneshlesnar2602 4 года назад
please help me i had this error how to solve this error : PlatformException(FirebaseException, An internal error has occurred. [ API key not valid. Please pass a valid API key. ], null)
@usamazahid5491
@usamazahid5491 4 года назад
really helpful tutorials....
@indianappguy
@indianappguy 4 года назад
I am glad you liked it
@naimulhasan3631
@naimulhasan3631 3 года назад
Widget searchList() { return ListView.builder( itemCount: searchSnapshot.documents.length, itemBuilder: (context, index) { return SearchTile( //error: The operator '[]' isn't defined for the type 'Map Function()'. userName: searchSnapshot.documents[index].data['name'], //error: The operator '[]' isn't defined for the type 'Map Function()'. userEmail: searchSnapshot.documents[index].data['email'], ); }); } Can someone help me to with this? Error is showing for data['name'] and data['email']
@divyanshgupta748
@divyanshgupta748 3 года назад
Widget searchList() { return ListView.builder( itemCount: searchResultSnapshot.docs.length, itemBuilder: (context, index) { return SearchTile( userName: searchResultSnapshot.docs[index].data()["name"], userEmail: searchResultSnapshot.docs[index].data()["email"], ); }); } CHANGE TO THIS
@naimulhasan3631
@naimulhasan3631 3 года назад
@@divyanshgupta748 thanks i have alreadysolved this and updated in the comment 🙂
@AnonUsername473
@AnonUsername473 3 года назад
@@ankitsayzz did you solve it? im having the same problem
@omerjahangir6862
@omerjahangir6862 2 года назад
@@naimulhasan3631 bro where do u have updated in comments can u do it here please
@naimulhasan3631
@naimulhasan3631 2 года назад
Check the stackoverflow link I have added above.
@ShivamSharma-hi4gt
@ShivamSharma-hi4gt 3 года назад
Why do we frequently wrap it up with container followed by wrapping it up with widget, what's the use of container exactly?
@indianappguy
@indianappguy 3 года назад
sometime i may have done more but usually it is to add the padding margin and decoration if required
@abdelmalekbouguerra8133
@abdelmalekbouguerra8133 4 года назад
Undefined class 'QuerySnapshot' .. and my debug console say : I/flutter ( 3691): Instance of 'QuerySnapshot' in 1:02:21
@abdelmalekbouguerra8133
@abdelmalekbouguerra8133 4 года назад
i fix it with import 'package:cloud_firestore/cloud_firestore.dart'; 🤦‍♀️🤦‍♀️😂
@indianappguy
@indianappguy 4 года назад
it happens how much have you completed yet?
@hellstar7466
@hellstar7466 4 года назад
just a query if someone could help - will using navigator for switching between signIn / signUp screen cause any problem later ? instead of using authenticate class to switch
@mohamedkassem7307
@mohamedkassem7307 4 года назад
No it will not. you can do that
@ein44sam
@ein44sam 3 года назад
50:03 that's weird because it worked for me with the map being created after 'isLoading = true'. Any idea why? But I tested it on a real android device because my AVD can't connect to the internet for some reason.
@sk-px3bq
@sk-px3bq 4 года назад
Unable to view the listview. Builder
@akshaysharma-ji2xw
@akshaysharma-ji2xw 4 года назад
sanskar tiwari brother , first of all great tutorial, then have one issue that my circularprogressindicator is not showing after i press sign up button
@soumyasouravpatnaik2246
@soumyasouravpatnaik2246 4 года назад
Could you please share the Github Link, I can help you.
@devhalder7799
@devhalder7799 3 года назад
@@soumyasouravpatnaik2246 Hey can you please help me , I am stuck at 01:06:22 I am tried and replicated every code until then, but on typing the name, I am not able to find user.
@HaiJieBoy
@HaiJieBoy 2 года назад
@@devhalder7799 hi, i am having the same issue here as well! did you manage to fix it?
@ShivamSharma-hi4gt
@ShivamSharma-hi4gt 3 года назад
How to include search by email?
@indianappguy
@indianappguy 3 года назад
Similarly how we did for username just need to change the field the key name does this makes sense?
@shubhaankarsharma
@shubhaankarsharma 4 года назад
Thank you so much!
@indianappguy
@indianappguy 4 года назад
You're welcome! Shubhaankar what tutorial would you like to see next?
@shubhaankarsharma
@shubhaankarsharma 4 года назад
@@indianappguy it would be really awesome if you could create tutorial for creating a social media clone with using http calls instead of firebase (REST API)
@indianappguy
@indianappguy 4 года назад
@@shubhaankarsharma noted will do
@pranavgautam1958
@pranavgautam1958 4 года назад
Thank You!
@indianappguy
@indianappguy 4 года назад
You're welcome!
@hg2660
@hg2660 4 года назад
Hi, I'm new to Flutter and Dart and there is one thing I don't quite understand. Regarding the Authenticate part, why do you have to call the toggleView() function as "toggleView" instead of "toggleView()" in the SignIn() and SignUp() arguments? For example, this SignIn(toggleView) instead of this SignIn(toggleView())? what's the difference?
@muhammedadil1258
@muhammedadil1258 4 года назад
the () will actually execute the function, and that's not what we want, we just want to pass the function as a parameter. So when we pass it without the (), the memory address of the function is passed as argument and that's the use case for SignIn and SignUp. Hope i helped u
@hg2660
@hg2660 4 года назад
Muhammed Adil Oh thanks, actually i figured it out sometime after this question was asked, but wasnt 100% sure of it. Thanks for the answer, im more confident now
@bashiruibrahim8443
@bashiruibrahim8443 4 года назад
You are welcome once again Sir
@indianappguy
@indianappguy 4 года назад
what?
@SherifFathyMohamed
@SherifFathyMohamed 3 года назад
Failed assertion: line 1940 pos 12: 'hasSize'
@exploit5871
@exploit5871 3 года назад
And i have the same problem, i don't know what to do
@narayanjai7212
@narayanjai7212 3 года назад
After we signup where we can find find the user details in Firebase??
@indianappguy
@indianappguy 3 года назад
yes
@darshmehta3476
@darshmehta3476 4 года назад
I am getting MissingPluginException(No implementation found for method createUserWithEmailAndPassword on channel plugins.flutter.io/firebase_auth). Please help me out
@soumyasouravpatnaik2246
@soumyasouravpatnaik2246 4 года назад
Please use flutter clean ( Tools -> Flutter -> Flutter clean)
@funcloud1866
@funcloud1866 4 года назад
can anyone help me with this...thanks in advance! , PlatformException(ERROR_NETWORK_REQUEST_FAILED, A network error (such as timeout, interrupted connection or unreachable host) has occurred., null)
@afolayanademola461
@afolayanademola461 3 года назад
Network problem...restart your internet
@shwetasyal5283
@shwetasyal5283 3 года назад
I’m done with aunthentication but when i click on message for chat its doesn’t work .. is need to login the user from another mobile then it will work ??
@indianappguy
@indianappguy 3 года назад
still facing the problem?
@shwetasyal5283
@shwetasyal5283 3 года назад
@@indianappguy no it's working now.. thanks for reply
@akshayeesarapu1715
@akshayeesarapu1715 3 года назад
How you solved please help me .
@WahajDrifter5598
@WahajDrifter5598 2 года назад
Late Initialization error.. help.
@mhmtkrnlk
@mhmtkrnlk 2 года назад
and this is not proper way to make a search. If u don't put exact value u will have error. Because snapshot will return null
@yasarkaleem8296
@yasarkaleem8296 3 года назад
LateInitializationError: Field 'searchSnapshot' has not been initialized. got this error. Anybody help ??
@mostcoca
@mostcoca 3 года назад
i have a problem too ! you resolve this error ?
@nithinkundapura7660
@nithinkundapura7660 3 года назад
Same problem did u solved?
@siddhiduse2947
@siddhiduse2947 3 года назад
getting error in auth.dart 1. undefined class AuthResult 2.User isn't a function plz provide solutions
@bereketzerihun2287
@bereketzerihun2287 3 года назад
replace AuthResult with UserCredential
@muhammadlatif6451
@muhammadlatif6451 3 года назад
@@bereketzerihun2287 replace AuthResult with UserCredential and FirebaseUser with User key word package was updates
@shubhamkholam175
@shubhamkholam175 3 года назад
How to resolve this error [core/no-app] No Firebase App '[DEFAULT]' has been created - call Firebase.initializeApp() Please how can I solve it please help
@zahokmadaki
@zahokmadaki 3 года назад
i just fixed it! all you have to do is install the firebase_core in pubspec.yaml, import it to the main.dart file
@zahokmadaki
@zahokmadaki 3 года назад
void main() async { WidgetsFlutterBinding.ensureInitialized(); await Firebase.initializeApp(); runApp(Main()); }.........replace the void with this in the main.dart file
@ashish3723
@ashish3723 4 года назад
I'm facing this Error when I installed the cloud_firestore Plugin project :firebase_core_web not found. Please update settings.gradle. Plugin project :firebase_auth_web not found. Please update settings.gradle. Plugin project :cloud_firestore_web not found. Please update settings.gradle. THIS IS MY DEPENDENCIES : dependencies: flutter: sdk: flutter # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class for iOS style icons. cupertino_icons: ^0.1.3 firebase_auth: ^0.16.0 google_sign_in: ^4.5.3 cloud_firestore: ^0.13.5
@lostfeatherfl
@lostfeatherfl 4 года назад
Maybe you should import the firebase core too
@biru8702
@biru8702 3 года назад
I fixed it.You need to add some line of code in setting.gradle. You can find the code in google if you copy paste your error.
@mouhamedbarahimi1441
@mouhamedbarahimi1441 4 года назад
why not using padding widget ??
@indianappguy
@indianappguy 4 года назад
it's just preference or can say habit you can use that as well
@mouhamedbarahimi1441
@mouhamedbarahimi1441 4 года назад
@@indianappguy ok, thank you for the video ❤😍
@indianappguy
@indianappguy 4 года назад
@@mouhamedbarahimi1441 you are welcome please do share if you find it valuable it really helps
@shahzaibahmed2759
@shahzaibahmed2759 3 года назад
bro i used same code as you written but continuously, i am getting this error Exception has occurred. PlatformException (PlatformException(firebase_auth, com.google.firebase.auth.FirebaseAuthUserCollisionException: The email address is already in use by another account., {code: email-already-in-use, additionalData: {}, message: The email address is already in use by another account.}))
@sanchakshkaul2357
@sanchakshkaul2357 3 года назад
delete firestore and authentication data and try signup again..
@siddhartharathour1802
@siddhartharathour1802 4 года назад
it is showing this error PlatformException(ERROR_INVALID_EMAIL, The email address is badly formatted., null)
@soumyasouravpatnaik2246
@soumyasouravpatnaik2246 4 года назад
Please re-check your email ID that is being passed from the TextFormField
@biru8702
@biru8702 3 года назад
Use .trim() in email
@mostcoca
@mostcoca 3 года назад
bonjour, j'ai un probleme au niveau du searchSnapshot : LateInitializationError: Field 'searchSnapshot' has not been initialized. quelqu'un a eu le même problème ?
@nithinkundapura7660
@nithinkundapura7660 3 года назад
Did u solved this error?
@mhmtkrnlk
@mhmtkrnlk 2 года назад
@@nithinkundapura7660 just answered at top
@sahilkachhap
@sahilkachhap 3 года назад
Why don't you used icon Button instead of doing wrapping that whole log out button with gesture detector
@miguel48394
@miguel48394 3 года назад
Hi, How u can do it?
@sahilkachhap
@sahilkachhap 3 года назад
@@miguel48394 You just need to specify Icon button(icon: Icons.logout, ontap: (){}); Just that's it
@miguel48394
@miguel48394 3 года назад
@@sahilkachhap Ty :)
@fabricendja9719
@fabricendja9719 4 года назад
i, my name is Fabrice and I'm a beginner flutter developer. I am subscribed to all your RU-vid channels, twitter I even paid you a coffee by paypal. At the moment I have a problem with my application you are a professional I would like you to help me to finish it I will learn and I will pay you. You are very strong so I chose you to help me! please answer me
@indianappguy
@indianappguy 4 года назад
how did you paid i didn't received any
@fabricendja9719
@fabricendja9719 4 года назад
@@indianappguy via paypal
@fabricendja9719
@fabricendja9719 4 года назад
@sanskar Tiwari I would still like to send you money but I need your help I wrote to you on facebook, twitter, linkedin but can't answer me or do you want us to talk?
@biru8702
@biru8702 3 года назад
I am unable to see the search results. Can anyone help me?
@moayadhhh2172
@moayadhhh2172 3 года назад
im facing same issue do you solve it
Далее
Flutter Basics by a REAL Project
25:42
Просмотров 458 тыс.
🔒📱 Modern Login UI • Flutter Auth Tutorial ♡
16:43
Top 30 Flutter Tips and Tricks
6:50
Просмотров 550 тыс.
Online Shop App - Flutter UI - Speed Code
31:34
Просмотров 853 тыс.