Closed reynaldichernando closed 1 month ago
Hello @reynaldichernando
Hello Please, remove the deprecated appleWebApp.capable metadata from your app/page.tsx. Instead, ensure you're using the modern web app manifest to handle PWA capabilities across browsers. The apple-mobile-web-app-capable meta tag is deprecated, and relying on it can harm your app's installation experience, especially in Safari. Focus on properly defining your PWA in the manifest, which will handle essential attributes like start_url and scope. This will eliminate the warning in Chrome DevTools and improve cross-browser compatibility.
This closed issue has been automatically locked because it had no new activity for 2 weeks. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
Link to the code that reproduces this issue
https://github.com/reynaldichernando/nextjs-meta-tag-deprecated
To Reproduce
npm run dev
localhost:3000
and open Chrome DevToolsCurrent vs. Expected behavior
Current: Snippet from the reproduction repo
app/page.tsx
Having this
appleWebApp.capable
metadata will show the warning for deprecated meta tag on Chrome DevToolsExpectation:
appleWebApp.capable
metadata type should be deprecatedmobile-web-app-capable
Provide environment information
Which area(s) are affected? (Select all that apply)
Metadata
Which stage(s) are affected? (Select all that apply)
next dev (local), next start (local)
Additional context
https://web.dev/learn/pwa/web-app-manifest#designing_your_pwa_experience
https://web.dev/learn/pwa/enhancements#installation_reliability
Reference from other framework with similar issue https://github.com/flutter/flutter/issues/154596