Tuesday 7 February 2017

Switching to Progressive Web Apps will Save you a Ton of Storage and RAM on Android

As our lives continue to depend extensively on smartphone apps, preserving space is getting even more difficult. OEMs have also, unfortunately, discarded SD card support in the majority of their lineups, and purchasing a higher-end variant with more internal storage and RAM is just not affordable for most customers. Fortunately, there’s still a way out, and don’t worry, I won’t force you to delete that game you haven’t played in a year (but, you should let it go seriously). The solution to your distress is switching to web apps.

how-to-save-storage

Developers and companies have been aggressively pushing these technologies over native ones since the past year. That’s primarily because of their omnipresent characteristics, and as they run inside a browser, and developers don’t need to create separate apps for all the platforms. However, unlike before, web apps have come a long way, and you don’t have to compromise much in order to make the switch especially if you’re on Android.

Google has launched several new APIs through which developers can integrate these web views with the device’s core. Hence, you can monitor their usage through the phone’s settings, open in an entirely disparate window, multitask between them, work offline, access them through the launcher’s drawer like any other normal app, and receive local notifications. Titled “progressive web apps”, they’re currently in beta and are not available in the stable build of Google Chrome.

So, are they usable? In most cases, yes. I’ve been solely living with web apps for the last two weeks. Of course, not every app has a web equivalent, but in my experience, I was able to ditch most of my frequently used native apps including Facebook, Twitter, Reddit, and more. And if you head into your phone’s settings, and check their size, it’s quite significant. For instance, Facebook’s official app and Messenger together consume over 500MB of your data, even more, if you have a ton of cache lying around. On the contrary, if you switch to Facebook’s web app, it will take around 100KB. That’s right, and you’ll only miss around 10% of features (such as live streaming), that too only if you’re an avid user. Furthermore, if you have a relatively underpowered smartphone that is struggling to keep up with your needs, web apps are a perfect getaway. They require negligible power and don’t bog down your phone in the background. You just need the browser, that’s it.

native-web-apps-comparison

How to Add a Progressive Web App

Okay, you’ve decided to decamp. Here’s how you can get started,

  • Download Chrome Canary version 57 because progressive web apps are currently limited to that.
  • Head over to this link on Chrome Canary, look for “#enable-improved-a2hs”, and select enabled. Restart the app.
  • Now, you’re ready to add web apps.
  • Small Clarification: The reason for preferring Chrome Canary is because they support progressive web apps, hence, if the developer has updated its site, the app will be installed just like every other native app. You can definitely use web apps through the regular Chrome app but the experience will be a bit incongruous. Google will surely roll it out for everyone soon, we’ll refresh the article when that happens. The selection of progressive web apps is quite limited right now but we expect other teams to follow soon.
  • Now, let’s add a web app. We’ll take Twitter for this demo. Load Twitter.com on Chrome Canary to get started.
  • Once opened, tap the three dots on the top right, and tap “add to the home screen”. Go through the installation process and you’re done!
  • Screenshot_20170205-214444

  • You can check the data Twitter is accounting for in the settings and launch it from the app drawer.
  • In case the web app isn’t progressive, it will be added to the home screen like a web link but you can still use that. The first time you load it, say Facebook, you will also get an alert for enabling notifications, tap yes if you’d like to.
  • These are all the apps which are compatible with Google’s new guidelines. Some of the best ones include Flipkart, Telegram, Twitter, and Flipboard.

Google has been betting a lot of their efforts on web technologies such as their Chrome OS operating system. It will be interesting to see how the smartphone apps pan out in the future.

For now, this is all you need to know about switching to web apps, go on and save some storage and live in the browser. Do let us know in the comments section if we missed something or you’re stuck at a particular step.

  

Related Stories



No comments:

Post a Comment