The set to default prompt no longer shows by default when the onboarding set to default card is displayed
Categories
(Firefox for Android :: Onboarding, defect, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox155 | --- | fixed |
People
(Reporter: towhite, Assigned: towhite)
References
(Blocks 1 open bug)
Details
(Whiteboard: [android-activation-trust][fxdroid])
Attachments
(1 file, 1 external file)
|
6.75 MB,
video/mp4
|
Details |
Summary
The "Set as default browser" system prompt is no longer displayed when the onboarding "Set as default" card is shown.
Expected
When the user navigates to the onboarding "Set as default" card, the Android system prompt to set Firefox as the default browser is displayed.
Actual
When the user navigates to the onboarding "Set as default" card, the Android system prompt is not displayed unless shouldShowSetAsDefaultPrompt() returns true (typically on the fourth app open).
Root Cause
The gate added in OnboardingFragment as part of https://phabricator.services.mozilla.com/D307748:
if (requireComponents.settings.shouldShowSetAsDefaultPrompt()) {
defaultBrowserPromptManager.maybePromptToSetAsDefaultBrowser(it)
}
prevents the prompt from being shown during onboarding because shouldShowSetAsDefaultPrompt() is intended for the regular app-open prompt cadence, not the onboarding flow.
The original goal of https://bugzilla.mozilla.org/show_bug.cgi?id=2048705 was to make the default browser prompt configurable via Nimbus. Instead of gating the onboarding prompt with shouldShowSetAsDefaultPrompt(), the onboarding flow should check the Nimbus feature flag directly:
FxNimbus.features.defaultBrowserPrompt.value().enabled
This preserves the existing onboarding behavior while still allowing the prompt to be enabled or disabled remotely through Nimbus.
Updated•3 months ago
|
Updated•3 months ago
|
Comment 4•3 months ago
|
||
Verified on the Firefox for Android Nightly 155.0a1 from 8/7 using a Pixel 6 (Android 17), and an Oppo Find N2 flip (Android 15).
When opening the app with a clean profile, the "Set as default" system's prompt is not displayed in front of the "Open all your links with built-in privacy" onboarding card.
Tom, is this the expected behavior?
Thanks, Mira. No, that is not expected. Is Nightly already set as the default browser when onboarding is started? Could you try with a fresh install instead please as opposed to clearing an existing install?
Comment 6•3 months ago
|
||
I've uninstalled Nightly, and re-installed it.
Firefox 153.0.3 is the default browser, and yet, the "Set as default" prompt is not displayed during onboarding when the "Set to default" card is displayed.
Tested on Nightly 155.0a1 from 8/9 with a Pixel 6 (Android 17).
Updated•3 months ago
|
Description
•