noyainrain / micro

Toolkit for social micro web apps.
GNU Lesser General Public License v3.0
4 stars 2 forks source link

Fix unexpected sign-out in Safari view #52

Open noyainrain opened 5 years ago

noyainrain commented 5 years ago

Using a micro app with a Safari view (i.e. not the browser itself, but e.g. a progressive web app or SFSafariViewController) results in unexpected sign-outs.

This can be reproduced in iOS simulator with the experimental functionality of #47 :

  1. Open Hello with Safari
  2. Share -> Add to home screen...
  3. Open PWA
  4. Open PWA again
  5. Perform any action
  6. Observe a page reload / re-login
noyainrain commented 5 years ago

Experimental branch: https://github.com/noyainrain/micro/tree/fix-safari-view-sign-out-52