gatsby-plugin-manifest short_name length enforcement
0 reputation · 08 Feb 2025, 07:41 UTC
Short name length enforcement
\nWhen configuring gatsby-plugin-manifest, developers often set the short_name to a value that exceeds the 12‑character limit defined by the Web App Manifest specification. The plugin accepts the value without warning, producing a manifest that is syntactically valid but may be rendered incorrectly by browsers.
Because the generated manifest.webmanifest contains the full string, Android home‑screen icons may truncate or wrap the label, breaking branding consistency. This behavior is undocumented and varies across browsers, leading to a fragile user experience.
Unresolved questions:
\n- \n
- Should Gatsby introduce a validation step that warns or rejects
short_namevalues longer than 12 characters? \n - Is there a configuration option that could automatically truncate or enforce the spec limit? \n
- Which browsers currently handle over‑long
short_namevalues, and how do they differ? \n