Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a "simulateFinger" and "simulateFace" command #2309

Open
cmargroff opened this issue Feb 13, 2025 · 1 comment
Open

add a "simulateFinger" and "simulateFace" command #2309

cmargroff opened this issue Feb 13, 2025 · 1 comment
Labels
enhancement New feature request or improvement of an existing feature

Comments

@cmargroff
Copy link

Use case

The use case is simple, there should be a way to test biometric interaction.

Proposal

An android command to trigger the fingerprint reader in the emulator
You can see the button available in the settings
Image

Command might be structured like this

- simulateFinger: <finger name>

Or to simulate a bad read

- simulateFinger:
  name: <finger name>
  failed: true

On android the adb command is adb -e emu finger touch [finger id]

An iOS command to trigger the faceID reader in the simulator
You can see the trigger options in the simulator toolbar
Image

A simple default success command might be like

- simulateFaceID

And a failed might be

- simulateFaceID:
  failed: true

The xcrun command on how to trigger faceIDs is here https://stackoverflow.com/a/56271446/1621031

Anything else?

No response

Copy link

linear bot commented Feb 13, 2025

@Fishbowler Fishbowler added the enhancement New feature request or improvement of an existing feature label Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature request or improvement of an existing feature
Projects
None yet
Development

No branches or pull requests

2 participants