![]() ![]() That's where NoSleep.js comes in: a small Wake Lock API shim to prevent the browser and device from going to sleep! Imagine your user playing a game that doesn't require much interaction, experiencing a VR demo, or even just a blog post or slideshow, and the screen suddenly goes black - that's an annoyance that your users may not (and shouldn't have to) tolerate. One of those small features includes preventing the device from sleeping when the user hasn't been active. ![]() ![]() Creating HTML5 games and media-heavy apps for the web can be really difficult, as you really have to pay attention to performance the the rest of the little things that native platforms provide. Web developers still have a difficult job when it comes to mobile the web will never provide as many APIs or as much control as native mobile platforms but our users expect the same excellent experience.
0 Comments
Leave a Reply. |