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

Add widget for iOS 15 #32

Closed wbreeze closed 2 years ago

wbreeze commented 3 years ago

Closes #31 Sounds Gone

iOS 15 deprecated notifications and put widgets in their place. This provides a widget that displays the clock face and plays the chime sounds. If the version of iOS is less than 15, the clock continues to use notifications as before.

wbreeze commented 3 years ago

Widget is cute, but I haven't worked-out how to have it play bell sounds on schedule. The widget timeline isn't working for me. Surely I'm doing something wrong, but I'm not sure what. PR #33 takes care of (closes) issue #31. This takes the pressure off. This PR will probably just die unless I get a bright idea about how to have the widget play bell sounds on schedule.

wbreeze commented 2 years ago

The need for a widget isn't called for. It was a side-effect of the notifications change. What is called for is for the app to work an WatchOS #35 . Also, the branches for this change went very stale.