How do you test runtime permissions and biometric authentication without treating them as one happy path?
Answer
Cover first request, denial, permanent denial, settings changes, revocation, unavailable hardware, enrollment changes, fallback authentication and app resume. Ensure sensitive actions require fresh authorization when policy demands it and do not expose biometric data.
Strong answer includes
- permission state transitions
- fallback and hardware states
- security boundary
Practical example
A tester enables Face ID for a banking app, then removes their face from device enrollment in system settings and reopens the app, confirming it correctly falls back to a PIN prompt instead of silently letting the last cached biometric success authorize a new payment.