Interested in a PR for iPhone Action Button support? #2655
Replies: 1 comment
|
Picking this up — with two corrections from the No No slide on this button. The Action Button's documented input is "press and hold", full stop. The capacitive slide-your-finger surface is the Camera Control — a separate button, exposed as So it takes the shape of our agent-device action-buttonawait client.command.actionButton();
Preserving the app's starting state is the bar we'll hold the PR to: no Issue and PR coming. |
Uh oh!
There was an error while loading. Please reload this page.
The idea is that agents could trigger the action button through agent-device like anything else. This would exercise the system’s shortcut/App Intent delivery, including when the app is backgrounded or terminated.
To make this happen, it would use Apple exposed
XCUIDevice.shared.press(.action)andhasHardwareButton(.action).If there's interest glad to propose the PR, or discuss another way to implement it. It should preserve app’s starting state rather than automatically foregrounding it before the press.
Great work on the project. Thanks for any feedback
All reactions