Investigate & Add "Set as default" system prompt when default-browser card not displayed
Categories
(Firefox for Android :: Onboarding, task)
Tracking
()
People
(Reporter: vdreghici, Assigned: vdreghici)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fxdroid][group2])
Attachments
(3 files)
As part of the Optimize “Set as Default Browser” screen experiment, we will have to implement treatment branch A, where the “Make Firefox Your Go-To Browser” card is completely removed, and we will just show the native “Set to Default” Android Prompt.
This will imply the following:
- Disabling the “Default” card can be done through experimenter by simply setting
enabled
to false fordefault-browser
card. - Since onboarding is shown on a fresh install, the prompt should be shown only during onboarding, on the first onboarding card, no matter which one it is. My first thoughts here are just to check if the “Set as default” card is enabled, and if not, then display the system prompt.
- We’ll need to move the ‘Privacy Policy’ to the Sync card (or whatever the new first card is).
- Since the "Set as default" prompt is part of the default launcher, we don't have much control over it. We should check if there is a way to see what browser the user changed from and if they actually changed to Firefox, or they just opened the prompt and closed it.
Assignee | ||
Updated•1 year ago
|
Comment 1•1 year ago
|
||
Assignee | ||
Comment 2•1 year ago
|
||
In order to test the behavior for treatment branch A, the juno-onboarding Value json value should be as follows:
{
"enabled": true,
"cards": {
"default-browser": {
"enabled": false
}
}
}
emulating a local experiment using Nimbus CLI or use the experiment once it is created.
The "Set as default" system prompt will not be displayed if the user has already set the browser as the default.
Firefox privacy notice will be shown on the first onboarding card. If only set as default browser card is disabled, then the privacy notice will be shown in the sync card.
We can get back a response from the set as default system prompt that tells us if the user has actually set Firefox as the default browser or they just cancelled the prompt.
Comment 3•1 year ago
|
||
Authored by https://github.com/DreVla
https://github.com/mozilla-mobile/firefox-android/commit/f98e606dca8d4d27f174a237fb329dead7d70959
[main] Bug 1879507 - Show Default prompt when default-browser card disabled
Comment 4•1 year ago
|
||
Comment on attachment 9389899 [details] [review]
[mozilla-mobile/firefox-android] Bug 1879507 - [Onboarding] Show Default prompt when default-browser card disabled (backport #5617) (#5932)
Beta/Release Uplift Approval Request
- User impact if declined: Cannot be enrolled in experiment
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Minor change, verified in Nightly
- String changes made/needed:
- Is Android affected?: No
Comment 6•1 year ago
|
||
Comment 7•1 year ago
|
||
Authored by https://github.com/DreVla
https://github.com/mozilla-mobile/firefox-android/commit/5e52ec7f9aeeb0df6178ca9f9005ca2d56167d31
[releases_v124] Bug 1879507 - Show Default prompt when default-browser card disabled
Description
•