-
Notifications
You must be signed in to change notification settings - Fork 160
Open
Description
Describe the bug
When using pusher_channels_flutter, triggering a client event from iOS does not work.
- On Android, events are triggered and received correctly.
- On iOS, the
trigger()call succeeds (no error thrown), but the event is never received by any clients (neither iOS nor Android).
To Reproduce
Steps to reproduce the behavior:
- Initialize Pusher with private channel + client events
- Subscribe successfully (both Android and iOS receive messages if triggered from server/Android)
- Call
pusher.trigger()from iOS - Event is not received on any client
Expected behavior
Calling trigger() from iOS should send a client-* event to other subscribed clients (same as Android behavior).
Code Sample
await pusher.trigger(
PusherEvent(
channelName: "private-chat-23",
eventName: "client-message",
data: jsonEncode({
"username": "James",
"message": "Hello",
"timestamp": "08:36 PM",
}),
),
);
mkelleherUSSA and tauqeer-cs
Metadata
Metadata
Assignees
Labels
No labels