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

[mobile] Enable Add to Home Screen #29

Open
fabd opened this issue Jan 18, 2017 · 0 comments
Open

[mobile] Enable Add to Home Screen #29

fabd opened this issue Jan 18, 2017 · 0 comments

Comments

@fabd
Copy link
Owner

fabd commented Jan 18, 2017

For a better experience without the browser bar.

A first implementation doesn't use any fancy cache or "service workers" if possible. All it does is make sure the app icon launches the app without the browser chrome for slightly more screen estate, and ensure the user stays within the app instead of being sent to the browser.

Issues

  • Most links in the app take the user out of the app and open the page into the browser.

Solutions

  • add a handler on the document root to prevent default link behaviour and change the document url via Javascript. I haven't tested this and there may be other issues, I don't know.
  • would Turbolinks help with this? I assume as part of the functionality they already handle the links (ie. intercept standard links and use javascript to set document location).

Also requires #2 for the app icon.

@fabd fabd added the mobile label Jan 18, 2017
@fabd fabd added this to the Mobile "Web App Capable" milestone Jan 18, 2017
@fabd fabd removed the mobile-beta label Jan 20, 2017
@fabd fabd removed the discussion label Aug 26, 2018
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

1 participant