Hi James, try using location.href = ‘pdf-url’ instead of a normal link. Some users had good luck using this trick for Custom URLs. Also iOS 13 might have some news on these bugs, some were solved.
Es difícil ayudarte sin ver la URL, cosas que pueden pasar:
It gets killed when the system gets into RAM pressure and it kills apps in the background (not manually); same happens when you restart the phone. You can’t detect when that happens, use visibilitychange and a timestamp stored in localStorage or IDB to see how much time has passed between sessions for example.
Things are changing for good starting with iOS 13! (beta 1 now)
Hi Tayamba, unfortunately, Apple doesn’t have any documentation in this matter. You don’t need to trust me or other sources, just test it. Web App Manifest is implemented partially on iOS since 11.3
iOS does support Web App Manifest, but partially. Icons must be set separately (I think there is a reason for that though). You can’t just ignore Safari as it will take your manifest; ignoring Safari means using UA sniffing and removing the Web App Manifest when an iPhone visits your site (but that’s far from ignoring it)
There is no Persistent Storage API on iOS and you don’t have control of that unfortunately because it’s client-side storage. Storage pressure or user removing data from Safari can delete the data. Also, be careful if you are using iframes as Partitions can act and separate your storages on different we content.