I’m very interested in trying to have an iOS and watchOS device pair communicate and want to know if it’s possible for the iOS device to get the direction to the watchOS device. (I cannot try this because I don’t have an Apple Watch yet.)
I’m looking at the documentation here and am not sure how to interpret the wording: nearby interaction docs
Nearby Interaction on iOS provides a peer device’s distance and direction, whereas Nearby Interaction on watchOS provides only a peer device's distance.
I’m not sure what is considered the peer.
Let’s assume I’m communicating over a custom server and not using an iOS companion app. Is the above saying that:
- A: iOS will send watchOS the distance from the iOS device to the watchOS device and watchOS will send out its distance and direction to the iOS device? (i.e. NearbyConnevtivity on iOS receives distance and direction of any other device, regardless of whether it’s a phone or watch, but watchOS only gets distance.)
- B: The watch receives distance and direction to the phone, and the phone receives only the distance to the watch.
- C: the iOS device only gets distance to the watchOS device, and the watchOS device only gets distance to iOS device, period.
May I have clarification?
A secondary question is how often and how accurate the distance and directions are calculated and sent, but first things first.
I’m looking forward to a reply. That would help very much and inform my decision to develop for watchOS. I have some neat project ideas that require option A or B to be true.
Thanks for your time!