Branch Name
feature/ios-live-activity
Description
This is a stretch goal, do not start until the other issues are done.
A patroller locks their phone and puts it in a pocket. Today there is no way to check the patrol without unlocking. A Live Activity puts the elapsed time and distance straight on the lock screen and in the Dynamic Island.
Scope
- Add a widget extension target to the Xcode project
- Build the card in SwiftUI. Lock screen, compact, expanded and minimal are all required by Apple
- Feed it from the native tracking service so the numbers keep moving with the app closed
- Start it when a patrol starts and end it when the patrol ends
- iOS 16.1 and up only, skip it below that
Acceptance Criteria
Notes
iOS only. Android shows the same numbers in its notification instead, which is far cheaper. Depends on the native point buffer. A Mac is required for all of it.
Checklist
Code of Conduct
Branch Name
feature/ios-live-activity
Description
This is a stretch goal, do not start until the other issues are done.
A patroller locks their phone and puts it in a pocket. Today there is no way to check the patrol without unlocking. A Live Activity puts the elapsed time and distance straight on the lock screen and in the Dynamic Island.
Scope
Acceptance Criteria
Notes
iOS only. Android shows the same numbers in its notification instead, which is far cheaper. Depends on the native point buffer. A Mac is required for all of it.
Checklist
Code of Conduct