heywhy / flutter-pusher-client

A pusher.com client written with dart for flutter
MIT License
9 stars 30 forks source link

Can't subscribe to private channels on iOS #17

Open chinloyal opened 3 years ago

chinloyal commented 3 years ago

When trying to connect to my laravel pusher api with iOS, I am able to subscribe to a public channel but private channels are not being subscribed to. I tested both public and private channels on android and it works fine. For iOS it doesn't subscribe to private channels at all and it doesn't throw an error of any sort. Maybe I'm missing something.

andredsnogueira commented 3 years ago

Same is happening to me. @heywhy do you know any kind of workaround?

evansben87 commented 3 years ago

I had the same issue. Worked correctly on Android, but didn't work on iOS (Simulator and real device). @andredsnogueira have you solution for it?

andredsnogueira commented 3 years ago

I had the same issue. Worked correctly on Android, but didn't work on iOS (Simulator and real device). @andredsnogueira have you solution for it?

@evansben87 I think i get it to work using another pusher client that someone mention here https://github.com/heywhy/flutter-pusher-client/issues/18 but i'm not sure.

evansben87 commented 3 years ago

I had the same issue. Worked correctly on Android, but didn't work on iOS (Simulator and real device). @andredsnogueira have you solution for it?

@evansben87 I think i get it to work using another pusher client that someone mention here #18 but i'm not sure.

I tried changing to plugin you commented and it worked. Thank you so much