XenForo reports false positive for PWA installability

Kirby

Well-known member
Affected version
2.2.12
XenForo reports PWA as being installable if both icons (192x192 and 512x512) have a non-empty value.

This is not a sufficient criteria, the icons need to be valid for PWA to be installable - specifically for Chrome this does mean that GIF or JPEG images do not qualify as valid icons.

XenForo should therefore check if the icons are PNG, SVG or WebP and only show PWA as installable if this is the case.
(It probably might even make sense to show a warning if they are not PNG as SVG and WebP support might have less browser support than PNG)
 
Last edited:
Top Bottom