Face ID / Touch ID
Asks the person to prove it's them before continuing. Fails if they cancel.
Category: Device · Can fail (wrap it in Try to handle that) · Takes time: the next step waits for it
#When to use it
Use it to protect something private, like a journal or a balance, behind Face ID or Touch ID.
#Example
An Unlock button, with a Try:
- Do: Face ID / Touch ID with Reason:
Unlock your journal, then Set Value with State: unlocked and To switched on - Catch: Show Message with Text:
Not unlocked
#Good to know
- If Face ID or Touch ID can't be used, the iPad offers its passcode instead.
- If the person cancels, the step fails with "Authentication was cancelled." Without a Try, the run stops there.
#Add it
Select a view, open the Inspector's Actions tab, pick when it runs, tap Add action and choose Face ID / Touch ID (under Device). Tap the step to open its settings.
#Settings
| Setting | What it does | Kind | Default |
|---|---|---|---|
| Reason | Why, shown with the request: "Unlock your journal". | Text | Required |