-
Notifications
You must be signed in to change notification settings - Fork 799
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
How to use the offline modus on mobile devices #261
Comments
How are you using Laverna on your phone? Are you building the mobile version? Using Laverna offline is as simple as opening the index.html in your browser. Last time I checked, you don't even have to run a local server. |
Thank you very much for your feedback. With Chrome the way described by you is working. (Even with the "Add to Home screen" option, which is really close to a native app.) With a mobile firefox (which I used before) I just can see the loading animation while being offline. |
I'm still not quite sure how you are accessing Laverna on your phone. Are you accessing the demo at laverna.cc and using that to add a shortcut to your home screen? That method shouldn't work offline in any browser (unless Chrome is somehow caching all of the contents). If you are actually downloading a local copy of static-laverna and it's not working in a particular browser like Firefox, then you can find the error via remote debugging. It could be a CSP issue or something like that, but I never had any issues using Laverna offline in desktop Firefox, not sure about mobile. |
For PC I used the static version and it's working fine. I am not sure how to use it offline on a phone. That's why I posted this question. (Is there an 'official' way?) For my last answer I used the version from laverna.cc via chrome. |
Then the only reason it's working offline for you in Chrome is probably because of caching. Adding a shortcut to your homescreen is essentially the equivalent of just creating a bookmark. There is no "official" mobile solution as far as I'm aware, but you can build the mobile application yourself. Hopefully the developers will eventually release a mobile build themselves when they feel that it is ready. |
How do I use the offline modus?
On PC there is still the option for a laverna-static installation. But when I try to use Laverna on a mobile phone as offline web app, I only see the loading animation. Is there a way to use Laverna offline? (At least the feature list on github suggests so: "Manage your notes, even when you're offline").
The text was updated successfully, but these errors were encountered: