Closed Bug 1879507 Opened 1 year ago Closed 1 year ago

Investigate & Add "Set as default" system prompt when default-browser card not displayed

Categories

(Firefox for Android :: Onboarding, task)

All
Android
task

Tracking

()

RESOLVED FIXED
125 Branch
Tracking Status
firefox124 --- fixed
firefox125 --- fixed

People

(Reporter: vdreghici, Assigned: vdreghici)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fxdroid][group2])

Attachments

(3 files)

Attached image Android Large - 53.png

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 for default-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.

Figma design

Assignee: nobody → Vlad.DreghiciPopa
Status: NEW → ASSIGNED

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.

Blocks: 1881009
No longer blocks: 1881009
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch

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
Attachment #9389899 - Flags: approval-mozilla-beta?
Blocks: 1884120
Comment on attachment 9389899 [details] [review] [mozilla-mobile/firefox-android] Bug 1879507 - [Onboarding] Show Default prompt when default-browser card disabled (backport #5617) (#5932) Approved for Mobile 124.0b9
Attachment #9389899 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
See Also: → 1892811
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: