I want to send a message or somehow notify the watch app when the user closes the companion app ? Do you have any idea ? Thanks
I want to send a message or somehow notify the watch app when the user closes the companion app ? Do you have any idea ? Thanks
What you really want to achieve? How the app uses the companion app?
I used the IOS SDK to connect the phone with the watch. On the companion app, there's a timer running (and some additional data) that syncs with the watch app. When I kill the companion app, how can I be notified that there's no more communication between the phone and the watch?
So there's a timer of let's say 60 seconds, and every 60 seconds the phone pushes that to the app? If yes then set a timer in the app every time you receive a message, and if you don't receive the next one in 65 seconds then you know it disconnected.
Or do the whole thing in the watch -> timer -> poll the data from the watch, this way you'll get some error when the poll doesn't work.