triniwiz / nativescript-socketio

Socket.IO for nativescript
Apache License 2.0
71 stars 31 forks source link

Secure connection does not work on iOS #107

Open mobifly-dev opened 2 years ago

mobifly-dev commented 2 years ago

Which platform(s) does your issue occur on?

Please, provide the following version numbers that your issue occurs with:

Please, tell us how to recreate the issue in as much detail as possible.

Secure WebSocket connection (wss:// protocol) does not work on iOS platform at all. On Android it works pretty well, same from test client browser, so I'm sure that server configuration is OK.

iOS socketio client cannot establish connection. Maybe it is related with TLS support on iOS?

Is there any code involved?

Just use simple constructor with URL wss://.... Options are: transports: ["websocket"]

That's all.