-
Notifications
You must be signed in to change notification settings - Fork 139
Basic PWA support for Desktop (with offline support) #577
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
base: develop
Are you sure you want to change the base?
Conversation
a7f8abb
to
c34ab84
Compare
With adding PWA support, would be a great feature to have offline support. Store any books currently reading on device and be able to read it offline. Then when back online, update progress. I found https://www.flowoss.com which is able to do this, as an example |
I don't really know what I'm doing, but been trying out a few things here and there to make it work offline. So far, as a proof of concept I've just decided to cache everything via the service worker (it probably should be refined) and made some change to open a book in same tab (rather than a new window, to prevent PWA from opening a new tab in actual browser) and everything seem to be working, with the previously loaded book opening just fine. No idea how to update progress when back online/offline (though once you back online and press the next page the progress is likely saved) |
This pull request for PWA should be somewhat usable offline now. The image for this PR is available here for testing: ghcr.io/klementng/booklore-app:v0.0.0-develop-a88367b (you have to uninstall any prev pwa) related #652 The back/refresh ui buttons does not exist on mobile PWA as |
Add
@angular/pwa
package to allow for installation of an web app on mobile/desktop.Resolves #204