kakajansh / echo

Laravel Echo for your Flutter apps.
MIT License
108 stars 70 forks source link

PresenseChannel .here users list not returning the array #50

Open UnifySoftTech opened 3 years ago

UnifySoftTech commented 3 years ago

echo.join('presence-channel') .here((users) { print(users); }).joining((user) { print(user); }).leaving((user) { print(user); }).listen('PresenceEvent', (e) { print(e); });

The .here() does not return an array instead return a PusherEvent which do not let me run for each loop on the users

[[User id=4, data={"id":4.0}], [User id=7, data={"id":7.0}]]

This is the Kind of data i receive when i do print(users);

Any suggestion?.

Echo.socketId() also returning Null