From fb975a7de78a79c0be1e1b205d4375a8e63efe32 Mon Sep 17 00:00:00 2001 From: Marko Lisica <83164494+marko-lisica@users.noreply.github.com> Date: Sat, 28 Mar 2026 21:35:45 +0100 Subject: [PATCH] Add warning banner for Android web apps requiring Google Chrome (#42598) **Related issue:** Resolves #42047 # Checklist for submitter If some of the following don't apply, delete the relevant line. - [x] Changes file added for user-visible changes in `changes/`, `orbit/changes/` or `ee/fleetd-chrome/changes`. See [Changes files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/guides/committing-changes.md#changes-files) for more information. ## Testing - [x] QA'd all new/changed functionality manually For unreleased bug fixes in a release candidate, one of: --- changes/42047-android-web-app-banner | 1 + .../SoftwareAndroidForm/SoftwareAndroidForm.tsx | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 changes/42047-android-web-app-banner diff --git a/changes/42047-android-web-app-banner b/changes/42047-android-web-app-banner new file mode 100644 index 0000000000..47a054bd74 --- /dev/null +++ b/changes/42047-android-web-app-banner @@ -0,0 +1 @@ +Added banner to Add software page to inform users that Android web apps require Google Chrome. diff --git a/frontend/pages/SoftwarePage/components/forms/SoftwareAndroidForm/SoftwareAndroidForm.tsx b/frontend/pages/SoftwarePage/components/forms/SoftwareAndroidForm/SoftwareAndroidForm.tsx index 2958bb5fa3..3bc8529226 100644 --- a/frontend/pages/SoftwarePage/components/forms/SoftwareAndroidForm/SoftwareAndroidForm.tsx +++ b/frontend/pages/SoftwarePage/components/forms/SoftwareAndroidForm/SoftwareAndroidForm.tsx @@ -17,7 +17,9 @@ import { generateSelectedLabels, getCustomTarget, getTargetType, + isAndroidWebApp, } from "pages/SoftwarePage/helpers"; +import InfoBanner from "components/InfoBanner/InfoBanner"; import generateFormValidation from "./helpers"; import { AndroidOptionsDescription } from "../SoftwareOptionsSelector/SoftwareOptionsSelector"; @@ -131,6 +133,21 @@ const SoftwareAndroidForm = ({ disabled={gitOpsModeEnabled} // TODO: Confirm GitOps behavior /> + {isAndroidWebApp(formData.applicationID) && ( + + } + > + This is an Android web app and it requires Google Chrome to work. + Please make sure you add Google Chrome to this fleet. + + )}