-
Notifications
You must be signed in to change notification settings - Fork 320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blank screen when run main.dart in example #78
Comments
it seems like you have no channels that match your filter |
seem like in the main.dart, there is not code that create any channel. |
that's true, but intentional have you followed the tutorial? https://getstream.io/chat/flutter/tutorial this is the documentation on how to create channels https://getstream.io/chat/docs/initialize_channel/?language=dart |
I have follow the tutorial, and the sourcecode in example is the end result. So if I wanted to build something like a groupchat, many users will watch on the same channel, is that correct ? to implement it, if a user created a channel, other user just need to watch on that channel, and pass messages to that channel, and there is no need to create channel any more on other user device ? It would be more easy to test out, if there is a example to create different type of chat like single chat or GroupChat. |
I can suggest to take a look at our documentation |
What I did for now is , I run app using |
I found out this code in tutorial to create a channel, is there any equivalent method in flutter SDK to setup a channel ?
|
yes, as I said in the documentation you can find everything https://getstream.io/chat/docs/initialize_channel/?language=dart this is the section for creating channels |
@imtoori for the demo application what about we show some message when the channel list does not match anything? ie.
Adding the + button to create a channel will also help (though you need to show a similar message when there are no users to chat with) |
@tbarbugli it's a good idea and it will solve this kind of problems |
@veyhong in the example app you can find a simple example of channel creation |
when I run:
flutter run -t lib/single_conversation.dart -d all
everything work fine.but when I try to run main.dart by :
flutter run -t lib/main.dart -d all
it show blank screen!It seem like in the main.dart do not create any channel. I cannot have it test.
gz#5734
The text was updated successfully, but these errors were encountered: