diff --git a/src/ageAssurance/components/NoAccessScreen.tsx b/src/ageAssurance/components/NoAccessScreen.tsx index a0594cc64b..a2a2c8508e 100644 --- a/src/ageAssurance/components/NoAccessScreen.tsx +++ b/src/ageAssurance/components/NoAccessScreen.tsx @@ -178,7 +178,7 @@ export function NoAccessScreen() { - {region && ( + {region && geolocationString && ( {isUsingGPS ? ( diff --git a/src/ageAssurance/useVerificationFlow.ts b/src/ageAssurance/useVerificationFlow.ts index aab85dd620..247da65b0c 100644 --- a/src/ageAssurance/useVerificationFlow.ts +++ b/src/ageAssurance/useVerificationFlow.ts @@ -48,6 +48,13 @@ export function useAgeAssuranceVerificationFlow({ const allowsDeviceVerification = region && aa.flags.allowsDeviceVerification const [isVerifying, setIsVerifying] = useState(false) + /* + * In-memory only, and scoped to this hook instance: each surface using this + * hook tracks its own failure, and a remount (or another surface) starts + * fresh and will offer the device flow again. That's intentional for now - + * it's a soft "don't immediately re-offer" signal, not a persisted judgment + * that the device can't provide signals. + */ const [deviceSignalsFailed, setDeviceSignalsFailed] = useState(false) const verifyCta =