Closed Najeeb8680 closed 4 years ago
Please provide details, error messages, and if possible a reproducible for us to look at.
Please provide details, error messages, and if possible a reproducible for us to look at.
No error messages, public channel works but private channel is not subscribe. i use authentication as well for private channel. For private channel, only pusher connection is successful.
any solution???
Please only leave comments that would help solve the problem. I can't give any timeline for when this will be looked it.
me too!
I have the same problem!!!
The problem is that I try to subscribe to a presence channel, nothing happens and no error is given. I can subscribe to public channels and on Android works perfectly.
I already tried with the sample code and the result is the same.
EDIT: I compiled the project directly on Xcode and there I could see the error log. I had to add some keys in Info.plist:
<key>NSAppTransportSecurity</key>
<dict>
<key>NSExceptionDomains</key>
<dict>
<key>DOMAIN GOES HERE</key>
<dict>
<key>NSExceptionAllowsInsecureHTTPLoads</key>
<true/>
<key>NSIncludesSubdomains</key>
<true/>
<key>NSThirdPartyExceptionRequiresForwardSecrecy</key>
<false/>
</dict>
</dict>
</dict>
Thanks for the info @joakiwpc.
Do you know what domain you needed to add?
Issue is when you use connectivity plugin with pusher_websocket_flutter plugin.
The solution is you must use another internet check connection like data_connection_checker plugin with pusher_websocket_flutter
please respond ASAP