The review prompt is not displayed to users who already completed onboarding pre-continuous onboarding being enabled
Categories
(Firefox for Android :: Onboarding, defect, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox159 | --- | verified |
People
(Reporter: towhite, Assigned: towhite)
References
()
Details
(Whiteboard: [fxdroid] [android-activation-trust])
Attachments
(4 external files, 2 obsolete files)
Firefox 155 enabled continuous onboarding by default, but the review prompt eligibility logic did not account for two groups of users:
- Users who completed onboarding before continuous onboarding was introduced.
- Users who are not enrolled in the VPN/IP Protection feature and therefore cannot complete the day-7 stage.
As a result, neither group receives the review prompt.
This investigation also uncovered a separate issue: users on Firefox 150–154 may be shown continuous onboarding even though the feature was not yet enabled by default.
See the QA guidance document for testing details.
Updated•2 months ago
|
Updated•2 months ago
|
Updated•2 months ago
|
Onboarding Completion States After Continuous Onboarding
Terminology
- Initial onboarding: The flow shown when a user first opens the app after a fresh install.
- Continuous onboarding: The follow-up onboarding stages shown over subsequent days after
initial onboarding.
Overview
Version 150 introduced the following preferences for continuous onboarding, but the feature
itself was not enabled until version 155.
| Preference | Purpose |
|---|---|
Settings.onboardingCompletedTimestamp |
Records when initial onboarding finished. |
Settings.continuousOnboardingFeatureEnabled |
Tracks whether continuous onboarding is enabled for the user. |
Settings.secondDayOnboardingCompletedTimestamp |
Records completion of the day-2 stage. |
Settings.thirdDayOnboardingCompletedTimestamp |
Records completion of the day-3 stage. |
Settings.fifthDayOnboardingCompletedTimestamp |
Records completion of the day-5 stage. |
Settings.seventhDayOnboardingCompletedTimestamp |
Records completion of the day-7 stage. |
The gap between introducing these preferences and enabling the feature created different stored
completion states depending on when users first onboarded.
The issue
Gating features or behavior on onboarding progress is unreliable because the stored preferences
do not consistently reflect the user's onboarding journey.
Two separate mechanisms represent initial onboarding completion:
FenixOnboarding.userHasBeenOnboarded()checks whether
onboardedVersion == CURRENT_ONBOARDING_VERSION, including when the onboarding UI was bypassed.
Despite its name suggesting that it stores a version, the value is only ever set to0or1and
is ultimately used as a Boolean flag.Settings.onboardingCompletedTimestamprecords when initial onboarding finished.
A value of-1Lmeans no completion timestamp was recorded.
A user can therefore be considered onboarded without a completion timestamp. Others have a valid
initial timestamp but unset continuous onboarding stage timestamps because the feature was disabled
when they onboarded.
These differences affect features that depend on onboarding completion or elapsed time.
For example, ReviewPromptMiddleware's continuousOnboardingInProgress gate hides the review
prompt when continuousOnboardingFeatureEnabled is true and
seventhDayOnboardingCompletedTimestamp is -1L.
Some users never see continuous onboarding at all, so the day-7 stage is never marked complete for
them. When continuousOnboardingFeatureEnabled is true, the review prompt therefore remains
blocked indefinitely for those users (see User cohorts below for which users this
affects).
The day-7 stage itself had a related gap, independent of cohort: it only completed once the user
became eligible for IP Protection and IPProtectionOnboardingPrompt.onShowOnboarding fired. A user
who is permanently ineligible (Nimbus config or unsupported region) never reaches that callback, so
even a cohort 3 user progressing normally through the earlier stages could get stuck at day 7
indefinitely, blocking the review prompt the same way. The same applied to an eligible user for whom
IPProtectionPromptRepository.canShowIPProtectionPrompt() returns false, for example because the
prompt was already shown outside continuous onboarding or the VPN was already used. This was fixed by
also marking the day-7 stage complete when eligibility resolves to a terminal ineligible state, or
when the user is eligible but the prompt is no longer allowed to be shown.
User cohorts
All four cohorts return true from userHasBeenOnboarded(), including users marked as onboarded
without completing the initial onboarding UI. The table describes their state before reconciliation.
| # | Cohort | Initial completion timestamp | Continuous onboarding stage timestamps | Currently eligible for continuous onboarding? | Should be eligible for continuous onboarding? |
|---|---|---|---|---|---|
| 1.a | Completed initial onboarding before version 150 | Unset (-1L) |
All unset | No | No |
| 1.b | Marked as onboarded through a path that bypasses the initial onboarding UI | Unset (-1L) |
All unset | No | No |
| 2 | Completed initial onboarding while continuous onboarding was disabled, such as in versions 150–154 | Recorded | Initially unset; populated as stages are completed | Yes | No |
| 3 | Completed initial onboarding with continuous onboarding enabled | Recorded | None, some, or all recorded, depending on progress | Yes | Yes |
Cohorts 1.a and 1.b should not see continuous onboarding. However, their unset stage timestamps can
still incorrectly block the review prompt when continuousOnboardingFeatureEnabled is true.
Cohort 2 is currently incorrectly eligible for continuous onboarding but should be treated as complete.
Cohort 3 should continue through its remaining stages normally.
Eligibility does not guarantee that a stage will be shown. Displaying a stage also depends on
the user's progress and the conditions for that stage.
Unset stage timestamps are not inherently incorrect: they can represent normal progress. The issue
is distinguishing that state from missing records or stages that were unavailable at onboarding.
Paths that bypass initial onboarding
This is how a user ends up in cohort 1.b.
BaseBrowserFragment.observeTabSource(), formerly in browser/BaseBrowserFragment.kt, used to call
FenixOnboarding.finish() without recording onboardingCompletedTimestamp whenever:
- The user had not already been marked as onboarded.
- The tab was neither from a redirect nor an external source.
- The URL was neither of the onboarding-related links in
onboardingLinksList.
For example, a user could enter this state by accepting the Terms of Use without completing the
remaining onboarding steps, closing Firefox, and then performing a voice search through the Firefox
home-screen widget. This opened a tab directly and triggered FenixOnboarding.finish(), bypassing
the rest of onboarding without recording onboardingCompletedTimestamp. The next time the user
opened Firefox, they were considered onboarded despite the timestamp remaining unset.
Bug 2072686 removed this bypass, so cohort 1.b
is now purely historical: no new installations can enter it, but existing installations already in
that state still require the migration described below.
AutomatedLaunch.disableOnboarding() also bypasses initial onboarding, but is used only by internal
tools and is outside this discussion's scope.
Direction for resolution
The goal is to make onboarding state reliable for downstream checks:
- Backfill the initial completion timestamp for cohorts 1.a, 1.b, and 2 to a known state using a fixed
release-channel date (version 150's release, when the onboarding-completion-timestamp preferences
were introduced), since it predates continuous onboarding for every affected user regardless of
when they actually onboarded. This overwrites cohort 2's real initial timestamp, but nothing
outside continuous onboarding depends on that timestamp being genuine for these users. - Mark continuous onboarding as complete for cohorts 1.a, 1.b, and 2 by populating all four stage
timestamps with the same fixed backfill date used above. This prevents further stages from
appearing, and cohorts 1.a, 1.b, and 2 end up in the exact same, fully-backfilled state. - Preserve cohort 3's existing progress.
- Ensure normal completion and UI-bypass paths consistently record the relevant state.
- Make migrated users recognizable without a dedicated tracking preference: since every backfilled
field is set to the same fixed timestamp, future fixes can identify this cohort by comparing any
of them against that known value.
Reconciled timestamps should avoid making existing users appear newly onboarded. Stage timestamps
populated by migration represent completion markers, not evidence that the user saw those stages.
Cohorts 1.a and 1.b share the same missing-timestamp state. If their original cohort cannot be reliably
determined, migration tracking should preserve that uncertainty.
Updated•2 months ago
|
Updated•2 months ago
|
Updated•2 months ago
|
Updated•2 months ago
|
Updated•2 months ago
|
Updated•2 months ago
|
Updated•2 months ago
|
Updated•2 months ago
|
Updated•2 months ago
|
Updated•2 months ago
|
Updated•2 months ago
|
https://hg.mozilla.org/mozilla-central/rev/1e9c6e8c349c
https://hg.mozilla.org/mozilla-central/rev/c714ae051718
https://hg.mozilla.org/mozilla-central/rev/a3b7641d3c42
https://hg.mozilla.org/mozilla-central/rev/944167d756fe
Comment 9•1 month ago
|
||
This issue has been verified as fixed on Firefox for Android Nightly 159 (2026-10-01) using a Samsung S24 Ultra (Android 16). I’m confirming that the review prompt is successfully displayed across all cohorts, but one follow-up issue was found regarding an additional display of the "Set as default" card:
- Cohort 1a (Updating from 149): no issues
- Cohort 1b (Updating from 152 via widget bypass): no issues
- Cohort 2 (Updating from 152): bug 2076729
- Cohort 3 (159 fresh install): no issues
- Cohort 4 (Updating from 155): bug 2076729
Description
•