
How are you initializing the client that you're passing into Realtime?

['databases.6439e7ae4abb3e14f2b1']);```

I meant the Client, not Realtime..also this is an invalid channel. What you had before was correct

my mistake i am using like final realtime = Realtime(client).subscribe(
['databases.6439e7ae4abb3e14f2b1.collections.64444e34a0ce20bc4ac8.documents']
);

That looks like the wrong collection id

Wait no....I meant the url of the console where you're on the permission settings

correct it but not working final realtime = Realtime(client).subscribe(
['databases.6439e7ae4abb3e14f2b1.collections.6439e7dd6c9e8a193946.documents']
);

here is how i intialize clinet Client client = Client().setEndpoint('http://192.168.29.63/v1')
.setProject('64386b13977ba3c49d06')
.setSelfSigned(status: true);

And you're not doing anything else to client? Just passing it into Realtime?

Please share the url of this page

yes, just passing it

i also tried to print response but its showing null

Is all your code in one file?

Please share the url of this page

no i have define in different files

Ok that's fine

Please share the url of this page.

and also intialize this two time one for run time and second for constant when ever i need to call client client.setEndpoint('http://192.168.29.63
/v1')
.setEndPointRealtime('http://192.168.29.63')
.setProject('64386b13977ba3c49d06')
.setSelfSigned(status: true);

Ah there it is...can you try to remove that setEndPointRealtime() call?

yes i have tried but not worked

Okay just make sure not to call that function

Now please share the url of this page

just removed the setEnpointRealTime() now its working.

[SOLVED] how to connect with realtime in flutter

wow, glory to god, as i was trying to implement from last week now its working, Thank you Steven for your kind help.
Recommended threads
- App with randomly scheduled notification...
**Hey everyone! 👋** Building a Flutter app that sends users 1-3 location-based challenges per week based on their preferences. ## The flow: 1. User selects ho...
- The new Bulk API and Realtime updates
It seems that the new Bulk API doesn't actually send realtime updates which is making a huge problem for me. I also wanted to know different is it deleting mul...
- Type generation without $id parameter
I'm trying for the first time appwrite on 2 projects and after I've tested appwrite types generation with the cli I'm a little bit confused why it doesn't inclu...
