Closed Bug 1827905 Opened 2 years ago Closed 2 years ago

Simplify manifestPlaceholders in build variants

Categories

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

All
Android
task

Tracking

()

VERIFIED FIXED
115 Branch
Tracking Status
firefox115 --- verified

People

(Reporter: jonalmeida, Assigned: jonalmeida)

Details

(Whiteboard: [geckoview:m115])

Attachments

(1 file)

We have attributes in the manifestPlaceholders that need to be changed depending on the build variant.

In our current configuration, we re-set the default values in every variant rather than setting on the changes - this is error prone.

We should make this better because we have added more manifestPlaceholders and we will probably add more in the future, so we should limit the chance of making mistakes.

Fenix defaults: https://searchfox.org/mozilla-mobile/rev/a494670a2dc9b9ecd8341e07886b5af1a2f0209a/firefox-android/fenix/app/build.gradle#80-84
Focus defaults: Do not exist. Should be added here.

Status: NEW → ASSIGNED
Whiteboard: [geckoview:m115]
Target Milestone: --- → 115 Branch
Priority: -- → P1
Severity: -- → N/A
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Flags: qe-verify+
Resolution: --- → FIXED

Hello Jonathan,

Is QA verification needed for this issue? If so, could you please provide us with some steps to reproduce (STR) or testing scenarios?

Thank you!

Flags: needinfo?(jonalmeida942)

Hi Adina, sorry, I forgot to add some STR!

This change should ensure that we haven't caused any regressions to our deep links.

STR:

  1. From the command line with your device connected, run the follow commands:
  2. adb shell am start -W -a android.intent.action.VIEW -d "fenix-nightly://settings"
  3. adb shell am start -W -a android.intent.action.VIEW -d "fenix-dev://settings"
  4. adb shell am start -W -a android.intent.action.VIEW -d "fenix-beta://settings"
  5. adb shell am start -W -a android.intent.action.VIEW -d "fenix://settings"

Expected results:

  • At step 2, we should open Fenix Nightly to the Settings page.
  • At step 3, we should NOT open Fenix Nightly to the Settings page (if you have another builds installed, those might be opened).
  • At step 4, we should NOT open Fenix Nightly to the Settings page (if you have another builds installed, those might be opened).
  • At step 5, we should NOT open Fenix Nightly to the Settings page (if you have another builds installed, those might be opened).
Flags: needinfo?(jonalmeida942) → needinfo?(apetridean)

Thank you Jonathan!

Verified as fixed on the latest Nightly version 115.0a1 - 11.05.2023 using Motorola Moto G9 plus (Android 11) device and following the aforementioned steps.

Flags: needinfo?(apetridean)
Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: