Closed Bug 2074040 Opened 2 months ago Closed 1 month ago

Remove the Nightly Gate from Onboarding State Reconciliation

Categories

(Firefox for Android :: Onboarding, task, P1)

All
Android
task
Points:
1

Tracking

()

RESOLVED FIXED
159 Branch
Tracking Status
firefox159 --- fixed

People

(Reporter: towhite, Assigned: towhite)

References

Details

(Whiteboard: [android-activation-trust] [fxdroid])

Attachments

(1 external file)

Remove the temporary Nightly/debug build-variant gate from the reconcileOnboardingCompletionState() call in FenixApplication, allowing onboarding completion state reconciliation to run on all channels.

Retain the existing userHasBeenOnboarded() check outside the reconciliation function for now. Follow-up work will consolidate the logic for determining whether a user has completed onboarding into a single API.

Current implementation

        // Temporarily gate this by build variant to prevent the change from reaching non-Nightly builds before QA.
        // Keep the userHasBeenOnboarded() check outside reconcileOnboardingCompletionState for now. Follow-up work
        // will consolidate the logic for determining whether a user has completed onboarding into a single API.
        if (components.fenixOnboarding.userHasBeenOnboarded() && Config.channel.isNightlyOrDebug) {
            components.settings.reconcileOnboardingCompletionState()
        }

Sugested updated implementation

        // Keep the userHasBeenOnboarded() check outside reconcileOnboardingCompletionState for now. Follow-up work
        // will consolidate the logic for determining whether a user has completed onboarding into a single API.
        if (components.fenixOnboarding.userHasBeenOnboarded()) {
            components.settings.reconcileOnboardingCompletionState()
        }
Points: --- → 1
Severity: -- → N/A
Priority: -- → P1
Pushed by icedicedcoffee@proton.me: https://github.com/mozilla-firefox/firefox/commit/dbe4adc8663c https://hg.mozilla.org/integration/autoland/rev/78df7b2e4e1c Remove the Nightly Gate from the onboarding state reconciliation. r=android-reviewers,marcin
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 159 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: