Skip to content
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

Open
aptitude opened this issue Jul 5, 2015 · 5 comments
Open

How to use the offline modus on mobile devices #261

aptitude opened this issue Jul 5, 2015 · 5 comments
Labels

Comments

@aptitude
Copy link

aptitude commented Jul 5, 2015

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").

@Poorchop
Copy link

Poorchop commented Jul 9, 2015

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.

@aptitude
Copy link
Author

aptitude commented Jul 9, 2015

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.

@Poorchop
Copy link

Poorchop commented Jul 9, 2015

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.

@aptitude
Copy link
Author

aptitude commented Jul 9, 2015

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.

@Poorchop
Copy link

Poorchop commented Jul 9, 2015

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants