Progressive web apps challenge native mobile apps

Posted on 26-06-2017 , by: admin , in , 0 Comments

Native mobile apps have generally had the edge when it comes to user experience over web-based apps. But the tide is turning, with progressive web apps — a technology spearheaded by Google and Mozilla—catching on at major web properties and developer tools becoming available.

“We’re starting to see a lot of large companies come back to the web because of its low friction,” said Addy Osmani, an engineering manager on Google’s Chrome team. He cited Lyft and Twitter as examples.

Twitter’s progressive web app, Twitter Lite, takes up less than 1MB of memory, compared to more than 100MB for its native iOS app and 23MB for its native Android app, Osmani said. The client-side JavaScript app uses less data and supports push notifications and offline use.

Key to these apps is service workers, a JavaScript-based client-side proxy that lets apps load instantly regardless of the network state. It runs as a background script in the browser. These apps also pre-cache key resources, to reduce network dependence.