M1-13: Control widget — start a recording from the lock screen #19
Labels
No labels
area/agent
area/capture
area/editor
area/geo
area/security
area/sync
area/transcription
area/ui
area/vault
area/voice-memos
blocked
milestone/M1
milestone/M2
milestone/M3
milestone/M4
needs-decision
needs-hardware
p0
p1
p2
type/bug
type/enhancement
type/feature
type/idea
type/infrastructure
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Stash/stash-ios#19
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A lock screen and Control Center button that starts a recording in one tap.
Wes: "That way on my lock screen i can have a quick action that once tapped immediately starts
recording? (preferably while keeping the screen locked, but if that wont work i understand)"
Issue 07 put a stop button on the lock screen, via the Live Activity. This is the other half:
getting a recording started without unlocking, finding the app and tapping into it. Roughly all
of Wes's recordings begin while walking, and the thought is usually already half gone by the time
the app is open.
Scope
ControlWidgetin the existingStashWidgetsextension, so it can be placed on the lockscreen, in Control Center, and on the Action Button.
AudioRecorder.sharedthe same wayStopRecordingIntentdoes.rather than starting a second one.
The open question
Whether iOS will start a microphone recording from a locked device at all. A control's intent
can run without unlocking, but microphone capture from the lock screen may be refused, and the
fallback is that tapping it prompts for unlock first.
That is a real unknown and it should be answered by trying it, not by reasoning about it. If it
turns out to require unlocking, say so plainly in the UI rather than appearing to start a
recording that never began — a memo the user believes is being captured and is not is the worst
outcome this project has.
Depends on
Issue 07 (the extension target and the
RecordingControlindirection already exist). Wes wantsthis after issue 12, so the milestone finishes first.
Done when
Wes taps a control on the lock screen and a recording starts — or, if iOS refuses without
unlocking, the control does the closest honest thing and the limitation is documented.