Posts

Post marked as solved
1 Replies
826 Views
I developed a watchos application that should send real-time data to the server. The application works perfectly when the watch is paired with the phone. However, when I turn off the phone. the watch won't send data to the server. it is able to send the ones related to core motion but healthkit is not. I wanna know does the healthkit acquiring queries require the phone to be functional in order to transmit data or is there a workaround to this. I tested the watch by disabling all the other data transmissions and enabling the heartbeats transmission only and here is the logs log_2.txt
Posted
by dhiaapp.
Last updated
.
Post not yet marked as solved
1 Replies
499 Views
I would like to explain my problem briefly. I developed an application that acquires data through core motion and health kit libraries in watch and sends them to the server. First; when the watch is connected to the phone it sends all data successfully nothing wrong and the application works smoothly for a long period of time. However; When I turn the phone off and I connect the watch directly to wifi it connects to the server but what happens next is strange. For example, it can send one parameter only like accelerometer only but no other data; and if I disable sending it will send the GPS or pedometer to the server. I figured it can only send one parameter at a time but when I turn it off all the ones belonging to core motion. the health kit data is not sent like heart rate variability and oxygen saturation.  I am really stuck at this. I wanna know why when it is paired with the phone it works and when it is not this happens. I am not using the phone for anything just getting the data from the watch and sending it. I attached the log AppleWatchLog.txt
Posted
by dhiaapp.
Last updated
.
Post not yet marked as solved
2 Replies
488 Views
I have a problem when I want to send data through my appp from Apple Watch to server. 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. it only send when it is paired
Posted
by dhiaapp.
Last updated
.
Post not yet marked as solved
1 Replies
694 Views
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?
Posted
by dhiaapp.
Last updated
.