🚀 Build a Real-Time Chat App with Flutter & Appwrite: The Ultimate Guide

  Рет қаралды 8,517

Snehasis Ghosh

Snehasis Ghosh

Күн бұрын

Пікірлер: 63
@meetchudasama3787
@meetchudasama3787 5 ай бұрын
easily understood , you deserve more recognition
@destinygames3449
@destinygames3449 Ай бұрын
Thank you for the tutorial, I was looking for Appwrite chat tutorial. Can you make this react-native version please
@myinh3485
@myinh3485 6 ай бұрын
Wow, you've really outdone yourself with the "wisdom widget"! It's like the Swiss Army knife of Flutter widgets-smooth, versatile, and just plain awesome. Your coding skills are so sharp, they could slice through a stack overflow of bugs. Keep up the fantastic work! You're not just a programmer; you're a coding wizard conjuring magic with every line of code. Keep making the magic happen, and may your code always be bug-free and your coffee cup never empty! 🚀✨
@satdevlpr
@satdevlpr 7 ай бұрын
Many Many thanks for making App based on Appwrite. Please explore more of new Appwrite features and make video on it if possible
@rishabhdevchandrakar2957
@rishabhdevchandrakar2957 7 ай бұрын
this is the best project tutorial plz provide such kind of more tuturial
@techbrew-l5j
@techbrew-l5j 7 ай бұрын
keep it up bro, i really like your explanation and your project build.. 🔥
@kami_feeds
@kami_feeds 4 ай бұрын
You gained a sub, Thank you for this great content
@nishangiri5857
@nishangiri5857 Ай бұрын
very good tutorial, would be more better with better audio quality
@sarthakXsharma
@sarthakXsharma Ай бұрын
I used your code form github but there are no user showing even after creating account from different numbers. What is this please share.
@Snehasis4321
@Snehasis4321 Ай бұрын
You need to search for users with phone number on the search users page, enter any starting number like +1 it will show results.
@anomihekenneth9586
@anomihekenneth9586 2 ай бұрын
Please how can implement the group chat functionality
@pratikdhumal515
@pratikdhumal515 Ай бұрын
Your tutorial is very very nice ❤❤ i loved all logic and concepts. But the chat functionality is not good , we must use firebase for chat system. Bcz with chat logic used in this tutorial will generate huge monthly bills when used in production , bcz whenever someone send message each users feed is going to load all the chats which are already present on device .
@Snehasis4321
@Snehasis4321 Ай бұрын
If we also use firebase then it will also generate a huge bill due to bandwidth + firestore + real-time connections if monthly active users increases. If you want less bill then use a dedicated server , create websockets from there and use database of your own choice.
@chauquang55
@chauquang55 7 ай бұрын
do you use database ??
@Snehasis4321
@Snehasis4321 7 ай бұрын
Yes, have used appwrite database in the video.
@badmusalex1568
@badmusalex1568 6 ай бұрын
Please around 1:54:50 under the handleotpsubmit, whenever i passed that value, it shows error. what should I do? thank you. Try correcting the name to the name of an existing getter, or defining a getter or field named 'value'. handleOtpSubmit(value, context);
@Snehasis4321
@Snehasis4321 6 ай бұрын
The 'value' it the user id of user creating session, that is correct. It may happen that you have done something wrong with code on the other functions that we are calling before handleOtpSubmit , just verify all of them are correct or not.
@abhaykevat3997
@abhaykevat3997 2 ай бұрын
which statemanagement use in this project?
@Snehasis4321
@Snehasis4321 2 ай бұрын
Provider
@ByteBurst88
@ByteBurst88 7 ай бұрын
AMAZING BRO
@MurachcaMia
@MurachcaMia 2 ай бұрын
I had several errors while registering, how to fix them? error when reading current user's chats :AppwriteException: general_query_invalid, Invalid query: Attribute not found in schema: senderId (400) unable to update online status : AppwriteException: document_not_found, Document with requested identifier not found. (404)
@Snehasis4321
@Snehasis4321 2 ай бұрын
1) Make sure that senderId exist in user chat collection. 2) Make sure that the document that you are passing to update the online status of the user is correct. Verify it by printing the docId. If you still have problem you can join my discord.
@codevehicle
@codevehicle 6 ай бұрын
bhai playstore par nhi chorna hain kya
@KareemKoubeissi
@KareemKoubeissi 6 күн бұрын
hello bro can lebanese phone numbers be used?and i want to use this application for my graduation project in the university is it good choice?
@Snehasis4321
@Snehasis4321 6 күн бұрын
appwrite doesn't mention which country phone number they allow, so you need to find that manually after login with phone number. It will be good to make this project for graduation, but you should also ask your professor before starting the project.
@KareemKoubeissi
@KareemKoubeissi 6 күн бұрын
⁠​⁠​⁠@@Snehasis4321ok thank you but what do you mean by you need to find it manually after login?
@KareemKoubeissi
@KareemKoubeissi 6 күн бұрын
@@Snehasis4321and other question sorry bro can i put any number to send the otp code right? i want when I run the app infront of the dr. i want to let her see that with all numbers
@Snehasis4321
@Snehasis4321 6 күн бұрын
1)Manually means to test your phone number with an app or website that uses phone auth, if you are receiving OTP then it means it's working. Country code is supported 2) In the code I have not restricted any phone number , so putting any active number will send OTP.
@KareemKoubeissi
@KareemKoubeissi 6 күн бұрын
@@Snehasis4321okay big thanks bro!!❤❤
@arifqayoom39
@arifqayoom39 7 ай бұрын
Group Chats & Stories kab dalo ge es app me?
@sagarshah5341
@sagarshah5341 6 ай бұрын
Bro, Incredible! Marry ME! 🤣❤
@dipanjansaha5104
@dipanjansaha5104 7 ай бұрын
Vai uo fork wala samajh nehi aa raha hain. Agar main fork Nehi karunga to nehi hoga keya?
@Snehasis4321
@Snehasis4321 7 ай бұрын
Agar fork Nehi karoge to notifications push nehi kar pao ge, barna baki sab chale ga shivaye uske.
@dipanjansaha5104
@dipanjansaha5104 6 ай бұрын
@@Snehasis4321 Bro I did that, it runs fine. but jab main abhi fresh run kar raha hoon database se user, chat, photos wagera delete karke to otp nehi aa raha hain. Yeh keya Appwrite database ka problem hain. Will you please check it and lemme know. I have to submit that for my college project on Monday. Please thoda check kar ke bataiye
@Snehasis4321
@Snehasis4321 6 ай бұрын
otp will only be sended in case of phone login not every time when user delete chat or messages.
@TheLifeOfSravanthi
@TheLifeOfSravanthi 2 ай бұрын
I am unable to deploy the cloud function, It saying failed.I am using the same steps fork the code and node push notifications code is visible in my repository.But showing deployment failed in Appwrite console. Can someone help me
@Snehasis4321
@Snehasis4321 2 ай бұрын
is it printing any error in logs of the cloud function, or it fully blank in logs? can you check the logs and tell? if still not able to solve issue join the discord server and send screenshot of the issue.
@TheLifeOfSravanthi
@TheLifeOfSravanthi 2 ай бұрын
@@Snehasis4321 Thank you, I am able to run the function. Issue got resolved.👍
@quanvanmanh185
@quanvanmanh185 4 ай бұрын
Can Vietnamese phone numbers be used?
@Snehasis4321
@Snehasis4321 4 ай бұрын
It should work
@quanvanmanh185
@quanvanmanh185 4 ай бұрын
@@Snehasis4321 i tried it but it didn't work, i switched to email and it worked
@quanvanmanh185
@quanvanmanh185 5 ай бұрын
I don't see the otp code sent to my phone number?
@Snehasis4321
@Snehasis4321 5 ай бұрын
Add a print statement and verify whether the phone number being passed to the send OTP function is correct or not, and also check there is no mistake in calling the function. It should send the OTP code.
@quanvanmanh185
@quanvanmanh185 5 ай бұрын
@@Snehasis4321 I have tried it all. I even cloned your project and ran it, but I didn't see the otp code sent back. I tried to find out, but in the code there is no part to send otp to phone number and the appwrite doesn't seem to support sending otp to sms. Hope you can answer my questions
@quanvanmanh185
@quanvanmanh185 5 ай бұрын
@@Snehasis4321 I have tried it all. I even cloned your project and ran it, but I didn't see the otp code sent back. I tried to find out, but in the code there is no part to send otp to the phone number. Hope you can answer my questions
@srijonshorts
@srijonshorts 6 ай бұрын
can you upload video about flutter a to z ? please bro
@braincourses1527
@braincourses1527 2 ай бұрын
My app exit whenever I pick an image file , please reply
@Snehasis4321
@Snehasis4321 2 ай бұрын
This is a problem with the latest version file_picker package,I am also experiencing the same. Try to use an old version of file_picker package that is not crashing.
@braincourses1527
@braincourses1527 2 ай бұрын
Ok thanks bro ❤❤,
@braincourses1527
@braincourses1527 2 ай бұрын
It works now , I changed to a very old version and added permission to androidmanifest.xml file
@klavijorangel
@klavijorangel 3 ай бұрын
1:24:37 2:21:12
@vikashtiwari8360
@vikashtiwari8360 7 ай бұрын
please use proper mic
@ravi2048
@ravi2048 7 ай бұрын
I don't see any problems in the voice/sound.
@anomihekenneth9586
@anomihekenneth9586 3 ай бұрын
i got the error message ════════ Exception caught by widgets library ═══════════════════════════════════ RangeError (index): Invalid value: Valid value range is empty: 0 when trying to get all chats, please help
@Snehasis4321
@Snehasis4321 3 ай бұрын
There are no chats in database , not sure but there may be the problem when you are ready chat for specific index , just try to check if chats length in 0, then don't show in the ui.
@anomihekenneth9586
@anomihekenneth9586 3 ай бұрын
@@Snehasis4321 there is chats in the database, like when I do a print command in the provider class I can see the chats for getAllChats but when i call it in the it is null
@anomihekenneth9586
@anomihekenneth9586 3 ай бұрын
@@Snehasis4321 on the provider the getAllChats are fetching all chats but on the ui I get this error
@anomihekenneth9586
@anomihekenneth9586 3 ай бұрын
@@Snehasis4321 i have tried checking the messages at index 0 and the printed successfully on terminal but when i call on the ui especially her UserModel? otherUser = chatData[0].users[0].userId == currentUserid ? chatData[0].users[1] : chatData[0].users[0];
@anomihekenneth9586
@anomihekenneth9586 3 ай бұрын
@@Snehasis4321 there is chat in the database and it loads when chatting but when i try to allchats on the ui that is when i get the error here UserModel? otherUser = chatData[0].users[0].userId == currentUserid ? chatData[0].users[1] : chatData[0].users[0];
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 54 МЛН
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 20 МЛН
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 18 МЛН
How to Add Lottie Animations in Flutter
18:19
Snehasis Ghosh
Рет қаралды 655