URLSessionWebSocketTask not working on watchOS with LTE

For socket have used URLSessionWebSocketTask, it is working on watchOS6 when connected with phone. But on independent watch with LTE it is not working. we are getting ErrorDomain=NSURLErrorDomain=-1009, "there is no connection to the internet".

Accepted Reply

URLSessionWebSocketTask not working on watchOS with LTE

Are you building an audio streaming app? This matters, as explained in Low-Level Networking on watchOS.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"

Replies

URLSessionWebSocketTask not working on watchOS with LTE

Are you building an audio streaming app? This matters, as explained in Low-Level Networking on watchOS.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
Thanks, We need it for fitness app to get others positions while workout. Does line in link "If you are not working on an audio app and wanting to utilise Network framework it’s best to do this work on iOS." suggest to use it as companion app rather than independent app. Watch app works as expected once it is connected with iPhone.