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

Shared lists not available in Safari PWA #51

Open
noyainrain opened this issue Aug 28, 2019 · 1 comment
Open

Shared lists not available in Safari PWA #51

noyainrain opened this issue Aug 28, 2019 · 1 comment
Labels

Comments

@noyainrain
Copy link
Owner

noyainrain commented Aug 28, 2019

After opening a link to a shared list, it is not available on the start page of the Safari PWA.

How to reproduce:

  1. Open Listling in Safari mobile
  2. Share > Add to Home Screen...
  3. Open Listling in another browser
  4. Create new list > Simple list
  5. Share... for example via Messenger
  6. Open shared link (will open in Safari mobile)
  7. Open Listling PWA
  8. 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...).

@noyainrain noyainrain added the bug label Aug 28, 2019
@noyainrain noyainrain changed the title Shared lists not available in PWA on Safari mobile Shared lists not available in Safari PWA Aug 28, 2019
@noyainrain
Copy link
Owner Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant