Review prompt is shown on top of the VPN onboarding bottom sheet after returning from the "Browse with extra protection" link
Categories
(Firefox for Android :: Onboarding, defect, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox159 | --- | affected |
People
(Reporter: towhite, Assigned: towhite)
References
Details
(Whiteboard: [android-activation-trust] [fxdroid])
Reproduced on Nightly 159.0a1 (2026-10-05) and Beta 158.0b4.
Steps to reproduce:
- Install, complete onboarding and advance the device date through the continuous onboarding stages until the day-7 IP Protection (VPN) bottom sheet is shown on the homepage.
- Tap the "Browse with extra protection" link in the sheet.
- Press back to return from the SUMO custom tab.
Actual result:
The review prompt is displayed on top of the still-open VPN bottom sheet. Advancing the date to the next day no longer shows the review prompt.
Expected result:
No review prompt while the VPN sheet is showing. The review prompt should appear on the next cold start after continuous onboarding has completed, as it does when the link is not tapped.
The same thing happens whenever HomeActivity is stopped and restarted while the VPN sheet is open (home button and return, "Get started" and back).
Cause:
HomeFragment.onStart() dispatches CheckIfEligibleForReviewPrompt. On the day-7 cold start, ReviewPromptMiddleware.handleReviewPromptCheck returns early because continuousOnboardingInProgress() is true, but it dispatches nothing, so AppState.reviewPrompt stays Unknown. ContinuousOnboardingFeature calls completeDaySeven() as soon as the VPN sheet is shown, so Settings.continuousOnboardingCompleted flips to true while the sheet is still visible. The "Browse with extra protection" link starts a separate custom tab Activity, and coming back runs onStart() again. The second check now passes the continuous onboarding gate, finds the state still Unknown, evaluates the Nimbus criteria and shows the prompt. ShowReviewPromptBinding then records review_prompt_shown, which starts the 16-week cooldown and explains why the prompt is gone the next day.
Fix:
Dispatch DoNotShowReviewPrompt instead of returning silently when continuous onboarding is in progress, so the check is skipped for the rest of the process and re-evaluated on the next cold start.
Updated•1 month ago
|
Description
•