apple watch nsurlsession

Hello, I am very beginner at Swift and I am trying to make NSURLSession with a watch extension. The communication works fine when the watch is paired with an iPhone via wifi. However, once the connection between the phone and watch is interrupted. The watch stops sending data to the server even when it is still connected to the wifi. I would like to make the watch independent in sending the data without pairing it to an iPhone. is it possible to do it and how?

Replies

If you try turning off the iOS device that the watchOS device is supposed to be paired to, do you still see the same result? Make sure to completely stop the watchOS app and restart it.

Matt Eaton
DTS Engineering, CoreOS
meaton3@apple.com
  • When I restart it away from the iPhone. it wouldn't t send the the acquired data from the Apple Watch( heartbeats, location etc) to the server. it only send the data when it is paired to the phone. it is strange because the Apple Watch is still connected to wifi but wouldn't send to the server

Add a Comment