Skip to content

Conversation

denysdovhan
Copy link

Description

<meta name="apple-mobile-web-app-capable" content="yes"> is deprecated. <meta name="mobile-web-app-capable" content="yes"> should be used instead.

This causes a browser warning.

Screenshot (if UI-related)

image

To-Dos

  • Successful build yarn build
  • Translation keys yarn i18n:extract
  • Database migration (if required)

@Copilot Copilot AI review requested due to automatic review settings July 31, 2025 14:34
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes a browser warning by updating a deprecated PWA meta tag to use the current standard.

  • Updates the deprecated apple-mobile-web-app-capable meta tag to use the standard mobile-web-app-capable

@@ -152,7 +152,7 @@ const PWAHeader = ({ applicationTitle = 'Overseerr' }: PWAHeaderProps) => {
href="/apple-splash-1136-640.jpg"
media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"
/>
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="mobile-web-app-capable" content="yes" />
Copy link
Preview

Copilot AI Jul 31, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The meta tag 'mobile-web-app-capable' is actually a non-standard tag. The correct approach is to keep 'apple-mobile-web-app-capable' for iOS Safari and add 'mobile-web-app-capable' separately for other browsers, or consider using the standard 'display' property in a web app manifest instead.

Suggested change
<meta name="mobile-web-app-capable" content="yes" />

Copilot uses AI. Check for mistakes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant