Starscream icon indicating copy to clipboard operation
Starscream copied to clipboard

WatchOS connection

Open Fublvckmagik opened this issue 3 years ago • 2 comments

Hi, I have a client application that uses the starscream framework. Everything works very well. Now I need to write an application on WathcOS where communication with the server will also be established.

How can I connect to the server via WatchOS? Should I use Starscream library and connect directly or do it via Iphone? Thanks

Fublvckmagik avatar Mar 04 '21 08:03 Fublvckmagik

I haven't tried using sockets from the Watch directly and I'm too novice to tell you if it's possible or recommended, but here are my 2 cents: I have an iOS app with a Watch companion. My app is designed so that the main functionality is on the Watch and the iPhone app is just for setup and such. Anyways I use sockets a lot and it's all routed through the iPhone. I can say that it works very well, no connectivity or latency issues.

msonnino avatar Mar 22 '21 13:03 msonnino

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