Add warning banner for Android web apps requiring Google Chrome (#42598)

<!-- Add the related story/sub-task/bug number, like Resolves #123, or
remove if NA -->
**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:
This commit is contained in:
Marko Lisica 2026-03-28 21:35:45 +01:00 committed by GitHub
parent 9bfef5dec3
commit fb975a7de7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 18 additions and 0 deletions

View file

@ -0,0 +1 @@
Added banner to Add software page to inform users that Android web apps require Google Chrome.

View file

@ -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
/>
</div>
{isAndroidWebApp(formData.applicationID) && (
<InfoBanner
color="yellow"
cta={
<CustomLink
url={`${LEARN_MORE_ABOUT_BASE_LINK}/android-web-apps-chrome-required`}
text="Learn more"
newTab
/>
}
>
This is an Android web app and it requires Google Chrome to work.
Please make sure you add Google Chrome to this fleet.
</InfoBanner>
)}
<div>
<AndroidOptionsDescription />
</div>