docs(mobile): say which platform each biometric sensor works on
Merged
KA
5d ago+37+37+01234567890123456789-4-4-0123456789
What and why
- The
setBiometricsandenrollBiometricsdocs listed the sensors but not where each works. A Detox or Appium user portingmatchFaceorfingerPrintfound out at run time. - The JSDoc and its reference copy now name the platforms, add a Throws row for each method, and note that an Android prompt needs a screen lock and an enrolled fingerprint (as
device-fixture.e2e.tsalready says).
Issue
None (docs change).
Verified
Ran it locally: yes
- Called every sensor through the built CLI on an iPhone 16 Pro simulator (iOS 18.5) and a Pixel 8 emulator (Android 16).
faceidandtouchidpass on iOS,fingerprintpasses on Android, and each other pair throwsUNSUPPORTED_CAPABILITY: ... settings <sensor> is not supported on this device. pnpm checkgreen;pnpm --filter @e2e-dev/mobile run test:unit519 passed.
Checklist
- Changeset added (
pnpm changeset) for any change to a published package, or the change is testbed, docs, or CI only. - Breaking change: title carries
!, the changeset body names what breaks and what replaces it, and the deprecation warning landed a window earlier (stability policy in CONTRIBUTING.md). - Docs updated in the same PR: the
docs/**/*.mdxpage for the behavior, andskills/e2e/if the skill describes it. - Contract change: emitted
.d.tsreviewed,tests/types/sdk-types.tsupdated; wire change edits the schema and both fixtures. - Engine contract change (
e2e/engine): changesets fore2e,@e2e-dev/web, and@e2e-dev/mobile.