Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix icon for iOS Safari's "Add to Homescreen" (PWA): add required <link rel="apple-touch-icon"> tag (fixes issue #335) #1557

Closed
wants to merge 1 commit into from

Conversation

cvan
Copy link
Contributor

@cvan cvan commented Jul 24, 2019

see discussion: #335 (comment)

Context

  • Apple shipped support in Safari for iOS 11.1 for parsing web-app manifests via <link rel="manifest"> but (for some reason) ignores the icons defined in the manifest. A <meta name="apple-touch-icon"> tag appears to be still required for the time being. (I assume that'll change in an upcoming release.)
  • This also replaces the icon of the scene pages, since A-Frame injects, if missing, a few Apple-proprietary <meta> tags.

…ink rel="apple-touch-icon">` tag (fixes issue #335)

Context:
- Apple shipped support in [Safari for iOS 11.1](https://developer.apple.com/library/archive/releasenotes/General/WhatsNewInSafari/Articles/Safari_11_1.html#//apple_ref/doc/uid/TP40014305-CH14-SW6) for parsing [web-app manifests](https://w3c.github.io/manifest/) via `<link rel="manifest">` but (for some reason) ignores the `icons` defined in the manifest. A `<meta name="apple-touch-icon">` tag appears to be still required for the time being. (I assume that'll change in an upcoming release.)
- This also replaces the icon of the scene pages, since A-Frame injects, if missing, [a few Apple-proprietary `<meta>` tags](https://github.com/aframevr/aframe/blob/c871d04e/src/core/scene/metaTags.js#L14-L16).
@gfodor
Copy link
Contributor

gfodor commented Sep 3, 2019

thanks for this! this had to get added to the reticulum side, so I did that here: https://github.com/mozilla/reticulum/pull/227/files

@gfodor gfodor closed this Sep 3, 2019
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.

2 participants