kakajansh / echo

Laravel Echo for your Flutter apps.
MIT License
107 stars 68 forks source link

Switch pusher client library #24

Closed jinseokoh closed 2 years ago

jinseokoh commented 4 years ago

Pusher client library included in the last commit 6778b97 didn't work for me. This PR basically switches the client library from flutter_pusher_client to pusher_websocket_flutter and updates Pusher related logic to adopt the new Pusher library.

I've also updated /example/lib sample code for Pusher, where you can test out public/private channel communication. Even if you haven't set up Laravel broadcast auth configuration, you'd have no problem receiving broadcast event when using public channel.

combi-35 commented 4 years ago

Do you know how I can use your PR with laravel websocket package beyondcode? I included your PR to my flutter dependencies, but I can't get a connection to the websocket. I just have a public Event without auth.

chinloyal commented 3 years ago

@jinseokoh @combi-35 You can just use (pusher_client) works perfectly with this plugin. It also has client events and encrypted channels fully implemented for android and ios.

andreaselia commented 3 years ago

It seems the pusher_websocket_flutter package is archived and no longer maintained?

pishguy commented 2 years ago

pusher_websocket_flutter

yes that's right

andreaselia commented 2 years ago

pusher_websocket_flutter

yes that's right

Worth closing this PR then, I'd assume, @kakajansh.

kakajansh commented 2 years ago

Closed as pusher_websocket_flutter is archived and no longer maintained.