-
Notifications
You must be signed in to change notification settings - Fork 3
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
Improve Management of Local Storage Reset #276
Comments
Put this code on console of sharinglisboa.alticelabs.com, For example
|
Running the above test it was confirmed when Looking at https://developers.google.com/web/updates/2016/06/persistent-storage it was found:
Bookmarking reTHINK origin (in this case https://hybroker.rethink.ptinovacao.pt/ ) |
Evaluate the usage of this API: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/bookmarks/create to add a bookmark to runtime origin. Another option is to set push notifications: https://developers.google.com/web/fundamentals/push-notifications/ This should be done at runtime- browser inside the rethink framework and probably it is a more robust solution. |
It has been confirmed that enabling push notifications for the core, But permission request is not displayed when the origin is the App, only when the core domain is the origin. |
Improve Storage Manager implementation in order to warn the user when availability storage is reaching a limit and / or when requesting storage persistence we got a false result (currently, the following log is printed: "Storage may be cleared by the UA under storage pressure" at https://github.com/reTHINK-project/dev-hyperty-toolkit/blob/develop/resources/factories/runtimeFactory.js#L72-L76).
We suspect DSM reset behavior was caused by this.
Check:
https://storage.spec.whatwg.org/#dom-storagemanager-persist
The text was updated successfully, but these errors were encountered: