devgianlu / PYX-Reloaded

A fork of the original Pretend You're Xyzzy, with a completely rewritten frontend and some major changes on the backend
Apache License 2.0
26 stars 13 forks source link

Fix PWAs To Be Recognized By iOS #95

Closed HopperMCS closed 6 years ago

HopperMCS commented 6 years ago

A user on Stack overflow pointed out:

"Note on the "Add to Home screen: Safari has its own spec for "Home screen icon" called apple-mobile-web-app-capable in the meta tags. Web App Manifest Generator has a fallback for iOS using this meta tags."

Currently, my friend cannot get this thing to act like a PWA, eg the native fullscreens experience and whatnot like we do on Android.

devgianlu commented 6 years ago

PWAs haven't been implemented in iOS yet. Check this out. Anyway I've added the required tags for Safari: 46b9e7a6c2dd156eafccc265e1e17cb583b3fbb3

HopperMCS commented 6 years ago

Yeah, I haven't opened the link, but it's supposed to be in 11.3. Apple is handling service workers in a "special" way, supposedly.