How to Test Liveness on Low-End Phones and Slow Networks
Build a liveness test matrix for cameras, browsers, lighting, weak networks and safe recovery on real devices.
Table of contents
Run liveness on the oldest phone you plan to support, then interrupt the upload. Once the connection comes back, can the person continue? Does your backend know if anything arrived? If the test only measures inference time on a fast connection, it answers neither question.
Use physical devices for camera, permission and app behavior, and add controlled network failures at specific stages. Keep a baseline on the same device. For every run, record when capture opened, whether the backend received usable evidence and what the person could do next.
1. Choose the phones and entry points users actually have
Use audience or product data you are allowed to use to select representative device families. Include supported older models, a current baseline device and a device near the lower limit of your product requirements. Note the operating system, browser and app version, camera direction and capture route. Keep separate rows for hosted web, embedded web and native SDK when they matter.
The AWS user-side Face Liveness requirements are an example of the camera, browser and environment dependencies a supplier may publish. Match the requirements for the exact product and version you intend to ship against the devices in your test matrix. Ask how the flow behaves outside the documented scope, including when it starts in an in-app browser.
Include entry points that change browser behavior. Someone might open a verification link from a messaging app, email client, webview or standard browser. Test camera permission prompts and links that switch apps. If one of those contexts is unsupported, the user needs a route to a supported browser or another method. Check that the handoff does not lose the application or create conflicting active sessions.
2. Test what changes when the camera struggles
| Condition | What to observe |
|---|---|
| Bright or uneven light | Framing guidance, glare handling and any request for another capture |
| Dim indoor light | Whether a usable sample is acquired and whether the feedback helps |
| Older front camera | Startup time, image quality, autofocus and capture stability |
| Camera permission denied | Whether the user can recover or choose an approved alternative |
| Orientation or app switch | Whether the attempt resumes, ends or restarts safely |
| Resource pressure | Client behavior with limited memory, background apps or a throttled device |
Test a stable baseline first so you know the flow works at all. Then change one condition at a time where practical. Run common combinations too, such as an older phone with poor light and slow upload. Keep the number and order of tests visible. A single successful attempt does not establish that a device or scenario will be reliable.
Use varied, authorized subjects or test scenarios in ways that respect consent and access controls. If the design requires people to move, hold a phone or follow prompts, consider how a user with an accessibility need can complete the step. Record conditions rather than making assumptions about why a particular person could not finish. Capture review is a separate activity from attack-resistance testing.
3. Interrupt the connection at different stages
Begin with a known connection and introduce different limits. Test slower upload, higher round-trip delay, packet loss and a brief interruption where relevant. A single bandwidth number does not describe the experience. Test conditions during session creation, while media is being sent, and after submission while waiting for results. Those failures require different recovery behavior.
Switch between networks or background the app during capture where your product supports those cases. Check whether the media is submitted once, whether the session expires and what the user sees while the server waits. A spinner that never resolves can lead people to submit repeatedly or close the app. A safe retry should avoid accepting a stale result from an earlier session.
The Amazon Rekognition Face Liveness documentation describes creating a session and retrieving its result for that integration. Use the comparable boundaries for your provider, then record the events your app can confirm, from starting capture to applying the decision. Write down which stages are only visible to the provider before trying to attribute a delay.
Capture a timeline support can reproduce
For one authorized run, record four moments: the applicant taps start, the camera becomes usable, the server confirms submission, and the product receives a result. Add the visible error and network condition to the stage where the timeline stops. A useful report can say that camera access worked but result polling never recovered after a connection switch. “Liveness is slow on old phones” gives the vendor far less to investigate.
Try the same interruption after submission in a new session. If the backend already has a usable result, the person may need to resume or wait rather than record another sample. Verify the intended behavior in both cases and record the expected user message for the release test.
4. Count usable decisions across the whole session
Record the total eligible attempts for each scenario and separate successful capture, usable results, policy decisions, retries, explicit abandonments and pending or unknown outcomes. A liveness pass rate among attempts that reached inference can look good while many applicants never get that far. Measure completion for the whole journey and outcomes among completed checks separately.
Measure elapsed time by stage. Useful checkpoints include page or SDK ready, permission granted, capture started, submission confirmed, result available and decision applied. Report counts, ranges or percentiles appropriate to your sample size. For a small pilot, show individual measurements or a simple range rather than assigning meaning to an extreme percentile with too few observations.
Include the rate at which genuine users recover from a quality or network issue. A repeated technical error and a security-related failure deserve different treatment. Record whether users can finish after instructions, on another device, through an approved fallback or with help from support. See the liveness retry policy guide for how to define a next action by reason.
5. Keep usability separate from security evidence and set release criteria
Testing real phones and connections can show whether users can complete the flow under the tested conditions. It does not on its own show how the product handles presentation or injection attacks. Request attack evidence that covers the specific version and capture route. Treat the genuine-user pilot and the security test as different reports, with distinct assumptions and acceptance criteria.
Read the NIST FATE PAD evaluation as evidence about the tested software and samples. It does not report how your capture route behaves on a particular phone or connection. Use the comparison of local and server-side liveness to identify where to measure the time and failures in your own deployment.
Collect diagnostic information in approved systems. Use a limited reference, condition labels, times and outcome categories where those suffice. Do not place raw biometric media in generic bug reports or analytics. If your team needs to preserve evidence for an authorized investigation, define the access and retention before running the test. Redact any identifiers that are not needed to reproduce the issue.
Run the same interrupted session twice
Use a documented test sequence. Start with a phone on a stable connection, grant permissions, and complete capture as a baseline. Then repeat the same journey on the same device with a controlled interruption during upload. Record when the app notices the connection loss and what it shows. Restore the connection and check whether it resumes, retries automatically or offers a fresh attempt. Make sure the old and new attempts cannot both claim to be the current one.
In the second run, interrupt the connection after the server has received the evidence but before the applicant sees a result. This can look like the first failure on the screen while requiring different recovery on the backend. Check whether the product can resume the result from the same attempt. If an applicant taps retry, confirm the policy and provider agree whether a new capture is needed. Track the difference between a technically completed session and a user who never sees the decision.
Have support follow the same scenario without access to the test engineer’s notes. Give them the visible status and a permitted reference. Ask whether they can tell if the session needs more time, a return to the original page or another approved method. If they cannot, the test has identified a missing operational signal rather than simply a slow connection.
Repeat on a second supported device and document which behavior varies. Keep screenshots or diagnostics only where approved and redact unnecessary evidence. Share the timeline with the provider, including device conditions, observed stages and the desired next action. That gives both teams a reproducible problem to fix.
Turn pilot observations into release criteria
Pick required device, browser and network scenarios before comparing products. Write what a successful outcome looks like for each. A low-bandwidth test could require the user to receive an intelligible next step, avoid duplicate submissions and be able to finish after restoring the connection. An unsupported browser test might require an accessible fallback link that preserves the current journey.
Record failures in terms another team can reproduce. Include exact hardware, OS, browser, version, network profile and test sequence. Add the visible message and the relevant stage or request reference. A sentence such as camera failed on Android is too broad to guide a fix. An observation that the capture opened but the permission prompt never appeared in a specific webview gives the provider something to investigate.
Repeat the priority matrix after a major SDK, browser or product release. Keep the baselines and explain any change in the test sample. If a new provider is under evaluation, compare it on the same cases rather than using its default demo. Use the liveness directory to shortlist deployment options and the evidence checklist to record which observations came from your pilot and which came from published reports.