socket.io-client-swift icon indicating copy to clipboard operation
socket.io-client-swift copied to clipboard

Apple Watch OS 6 supported with new websocket API?

Open H1p3ri0n opened this issue 6 years ago • 5 comments

The new WatchOS 6 beta now support actual socket connections. Is there any plan to make Socket.io work with Apple Watch? Thanks.

https://developer.apple.com/documentation/watchos_release_notes/watchos_6_beta_3_release_notes

Networking New Features

URLSessionWebSocketTask and URLSessionStreamTask are now available for use in watchOS apps. (49779789)

H1p3ri0n avatar Jul 07 '19 06:07 H1p3ri0n

Barebones websockets have been available in watchOS for over a year now - wanted to check in on this. Is there any plan to get a socket.io implementation working? Or anyone interested in building one? I would be interested in helping out.

mspettel13 avatar Jan 20 '21 19:01 mspettel13

Any news on this?

angeria avatar Apr 12 '21 12:04 angeria

@angeria @mspettel13 @timevision can we implement socket connection by any socket library in Apple Watch?

dsngeu avatar May 04 '21 03:05 dsngeu

@angeria @mspettel13 @timevision can we implement socket connection by any socket library in Apple Watch?

URLSessionWebSocketTask native since watchOS 6 works pretty well.

angeria avatar May 05 '21 13:05 angeria

In order to realize that the Apple watch can send and receive messages like wechat in the case of offline mobile phones, the iOS side and the server side are currently using mqtt protocol, can the native socket of Apple watch be used normally?

m260154117 avatar Mar 08 '24 02:03 m260154117