Hauk
Hauk copied to clipboard
Launch the page fullscreen from home screen
This allows to use "Add to Home screen" button in Chrome to create a shortcut in the launcher that opens Hauk map link like a real app, and not in the browser. Quite useful together with "Preferred link ID", it almost gives the impression of having two activities of Hauk app in my launcher, one (true Hauk app) manages the links and shares, the other one (thanks to this PR) is like an in-app map.
Haven't tested iOS meta tag, I just took it because it was also mentioned in the docs, so I thought why not.
https://developers.google.com/web/fundamentals/native-hardware/fullscreen/#launching_a_page_fullscreen_from_home_screen
This is an interesting idea. I've had some problematic experiences with PWA in a previous project (caching-related), but this doesn't seem like it implements full PWA with a manifest file, rather just signals to the browser that the online page is app-like. Maybe this could be implemented for custom links only, so that the user isn't prompted to add a temporary link to their home screen. I could also make that setting configurable server-side. I will have to play around with this a bit and get back to your request.
Awesome! Just a note that this change doesn't prompt user about anything new, the only difference is that if they themselves save the link and later open the link, it will open as if in a separate app.
Hello, what's blocking this from getting merged? I tested the change; it's not intrusive, browsers just offer the option to save a homescreen bookmark