wbreeze / ShipsClock

An iOS, SwiftUI clock for tracking watches on board a ship. Marks the day in periods of four hours.
https://wbreeze.github.io/ShipsClock
Apache License 2.0
2 stars 0 forks source link

Watch / phone interaction : Notification goes to watch with no sound #42

Open wbreeze opened 1 year ago

wbreeze commented 1 year ago

From a fan, doing testing:

Just now at 1:00 pm. iPhone locked. No sound from phone. One ding from watch which is unlocked. Sounded like usual notification ding, not ships bell chime

Looking at this article about [notification forwarding interaction between the phone and the watch][fwd], I see that the system decides to place the notification on the watch when the phone is locked. I'm not finding a way to disable this. The watch doesn't play the sound. If you have a watch paired to your phone, you're not going to hear bells when the phone is locked.

[fwd] https://developer.apple.com/documentation/watchos-apps/taking-advantage-of-notification-forwarding

wbreeze commented 1 year ago

Apple Developer Technical Support dts-help@apple.com Case-ID: 1507765

wbreeze commented 1 year ago

The response from Apple, somewhat predictable, “The behavior and resulting limitations you describe are by design.”

They invited me to submit a proposal to provide control over the behavior; and, I’m not going to hold my breath.

At this point it makes sense to go down the rabbit hole and try an alternative to notifications for ringing the bells when the app is in background.

wbreeze commented 1 year ago

Have explored and found no alternative to notifications for playing the bells on schedule when the app is in the background. This includes with consultation with Apple developer support. The best they offered was push notifications. That would mean the app only worked when connected to the internet with some server somewhere pushing-out notices.

Bottom line, the app will not work if there is an Apple Watch.

wbreeze commented 1 year ago

No. I want to leave this open because it is still an issue, in spite of having found no means to resolve it.

wbreeze commented 1 year ago

No. I want to leave this open because it is still an issue, in spite of having found no means to resolve it.