log.txt
Here I did what you told me and send you the logs you can find it attached. I dug deeper into the problem and fixed some issues and I would explain the situation specifically. First, when the watch OS is connected to the phone it sends all the data successfully nothing wrong the application works perfectly. However, when I turn off the phone and restart the application on the watch now connects to the server, and what happens next is strange: for example, it can send one parameter at a time like an accelerometer but no other data, and if I disable sending it. it will send the GPS only to the server. I figured that can only send one parameter at a time, However when I disabled the GPS; accelerometer; magnetic field; pedometer it wouldn't t send anything the heart rate variability; oxygen saturation would n t be sent. So I really trapped on what causes this
Post
Replies
Boosts
Views
Activity
Greetings,
I started a new thread here is the link : https://developer.apple.com/forums/thread/689544
Eskimo,
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?