-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
uxUser experience, design, usability, and UIUser experience, design, usability, and UI
Milestone
Description
At this moment we are using 'localStorage' through browser API. It is said that in certain conditions this can be wiped out. Especially when building Phaser's HTML code to a native applications through Capacitor and Electron.
We need to have a solution that will handle this issue. This isn't an easy task though.
We can use azerion/phaser-super-storage
plugin (with correct initiation as its documentation is a bit outdated). It will handle some issues nicely:
- generalized approach to storage
- iOS wiping data when HTML game is served via iframe
localStorage
not being available for some reason.
But it will still not handle other issues:
- iOS wiping data if use is out of memory (their solution with Cordova plugin is outdated)
localStorage
being wiped or not persistent in Electron or Capacitor
To solve this we must implement an abstract storage controller that will work in every platform.
Metadata
Metadata
Assignees
Labels
uxUser experience, design, usability, and UIUser experience, design, usability, and UI
Type
Projects
Status
Backlog