3 ms·
> The web won. I wish that were true. We wrote a navigation application with GPS, turn-by-turn instructions, fullscreen-mode, always-on-screen and more. This i
by karussell 4y ago
> The web won.
I wish that were true. We wrote a navigation application with GPS, turn-by-turn instructions, fullscreen-mode, always-on-screen and more. This is possible directly in the browser! (its open source)
But the problem is that even if you pick Chrome as target you'll still have a lot of problems to solve. Can you disable the display to save battery for your long hiking tour and navigate just by voice? A native app can do that in the background, but I have not found a way to make this possible for a web app.
And then there are many Web APIs (sensor API, always on screen), that are only implemented by Chrome.
Or did you mean "Chrome won" :) ?
- easrng 4y agoAlways on screen can be emulated using an invisible video. There are libraries for this, like https://richtr.github.io/NoSleep.js/ https://richtr.github.io/NoSleep.js/. Which sensors are you talking about? Accelerometer and GPS are standard.