Shared lists not available in Safari PWA
After opening a link to a shared list, it is not available on the start page of the Safari PWA.
How to reproduce:
- Open Listling in Safari mobile
-
Share > Add to Home Screen... - Open Listling in another browser
-
Create new list > Simple list -
Share...for example via Messenger - Open shared link (will open in Safari mobile)
- Open Listling PWA
- Observe that the shared list is not available on the start page
A (poor) workaround for now would be to bookmark Listling (Share > Bookmark...) instead of installing the PWA (Share > Add to Home Screen...).
The possible cause may be that PWAs are isolated from Safari mobile, i.e. they don't share any storage, and shared links are not opened with the PWA, but Safari mobile (universal links are not supported).
It seems like service workers are cloned when installing a PWA with Safari, thus it would be possible to store authentication info in the Cache and make use of it on the first start of the PWA. However, there is no documentation on Safari PWAs and how the isolation is supposed to work, so I am rather hesitant to go down this road.
As a side note, in addition to the problems above, some apps open URLs in a SFSafariViewController, which is also isolated. For example see Telegram iOS.