GoogleChromeLabs / proxx

A game of proximity
https://proxx.app
Apache License 2.0
1.31k stars 124 forks source link

iOS losing state #449

Open PaulKinlan opened 5 years ago

PaulKinlan commented 5 years ago

Internal reports of the iOS version losing state and thus reseting the game, this appear to happen when the app is back-grounded and then brought back again.

Feedback was that iOS needs to support the page-lifecycle API, and that this will be hard because session storage is needed - possibly because of multiple tabs being open.

PK Note: for an added to home-screen experience there can only be one open instance of the app, and I thought that it didn't share state with the browser, therefore local persistence might be OK.

jakearchibald commented 5 years ago

We could try and solve this with session storage. It might not be too hard. Maybe.