dLife.in Now Has Progressive Web App

progressive web app, progressive webapp, native apps, PWA, responsive design, notification

We, at dLife.in, have been investing in technology, features and adding quality content in order to become one of the best — if not the best — platform in the segment that we cater to. The site is structured on responsive web design right from the word go. Even the web server is the commercially licensed LiteSpeed, while others use FREE Apache web server software. OS is also commercially licensed Cloud Linux and not the Free CentOS.

Forum software is also commercially licensed. There are many FREE forum software available, but we settled for the best in the space. Quality, security & speed in the online world has a cost, it never comes FREE.  We did not hesitate to pay for the best.

The latest release of forum software, in December 2018, came bundled with support for browser-based push notification. We also implemented almost all of the long list of custom features on the site by May 2019. Two notable custom features, not found on many diabetes community sites across the globe, are:

dLife DataLog — seven subcomponents.

dLife FoodLogthree subcomponents, with My Food Diary integrated to Home Testing component of the dLife DataLog, above.

With all major feature additions done, it was time to implement a long-standing demand from members — an app for the site. Although the site is based on responsive web design, we still went ahead to implement what is called “Progressive Web App”, or PWA, to give a native app-like user experience. Almost every popular site, social media platform is moving towards PWA.

Browser Support for PWA

  1. At the time of this piece going live, progressive web apps are fully supported by Chrome and Opera.
  2. Restrictions on iOS still apply.
  3. Firefox supports nearly all of its features. Restrictions on iOS still apply.
  4. Microsoft Edge is working on them.
  5. The Samsung Internet browser has been making great strides this past year and has shown a strong commitment to progressive web apps, as demonstrated by Samsung’s leadership in some of the key standardization work.
  6. Apple has finally jumped on the mobile web train: service workers, a key component for supporting progressive web apps, are available in Safari 11.1 for iOS 11.3 and macOS 10.13.4. But certain restrictions still apply. For example, Safari still does not support push notifications.

Steps to Install and Test PWA on iOS Devices

  1. Only Safari browser, Apple started supporting PWA from iOS 11.3.
  2. Main features of PWA like Add to HomeScreen prompt, Splash screen, Theme color are missing in iOS currently.
  3. Make sure that you have cleared the browsing data.
  4. Visit the website dLife.in
  5. Tap the Share button (in-browser options)
  6. From the options tap the Add to Homescreen option. You will notice that an icon of the website or screenshot of website added to your device’s home screen instantly.
  7. Tap the icon from the home screen, then the Progressive Web App of dLife.in will be loaded.
  8. OS supports Offline caching of pages and Offline Page that helps to navigate the website while Offline. The forum end however, will always follow the network-first policy so that fresh content is served. This is done on purpose as major activity is on the forum. If offline, then pages from the device cache will be served if accessed previously.
  9. Browser push notification not supported as of now in Safari.

Steps to Install and Test PWA on Android Devices

  1. Make sure you are on the latest version of Chrome
  2. Clear all cache and browsing data.
  3. Visit the website dLife.in
  4. A banner will pop up at the bottom of the screen asking if you want to add to home screen. Accept, and voila, the App is installed.
  5. If you dismissed the step in 4 above, you can still add to Home
  6. While on dLife.in, click on the browser menu (three dots top right usually)
  7. Click on Add to Home Screen. If the App is already installed, then you will see Open dLife.in
  8. OS supports Offline caching of pages and Offline Page that helps to navigate the website while Offline. The forum end however, will always follow the network first policy so that fresh content is served. This is done on purpose as major activity is on the forum. If offline, then pages from the device cache will be served if accessed previously.
  9. Forum push notification, if enabled, will have the same display on the icon.

Steps to Install and Test PWA on Microsoft Edge browser

  1. Make sure that you have cleared the browsing data before testing
  2. Visit the website dLife.in
  3. From the bottom, you can see an Add to Home screen prompt
  4. Tap the button, instantly the web app will be added to your Home screen with an icon.
  5. Tap the icon from HomeScreen, then the Progressive Web App of dLife.in will load
  6. You can see the Splash Screen with the icon.
  7. Navigate via some of the web pages. After that, disconnect the internet on your device and close the web app
  8. After that, tap the web app icon again from the HomeScreen. You can notice all the pages which you viewed earlier when online, and all the pages that you haven’t viewed will be shown as No Connectivity error page.

Here’s the Home screen with dLife.in PWA installed on an Android device — the first icon being dLife.in

PWA Android 1 485x1024 - dLife.in Now Has Progressive Web App

We will not be doing native apps as the days of native apps are almost over. All focus will be on PWA.

Have We Come to The End of Adding Custom Features?

Nope. We have the “Third Stage Custom Features” integration in the works, and PWA was a part of that. We are thankful to every member who has contributed to our success so far. We continue to strive for being different from the rest. We are not just a forum, a recipes site or some nut-bolt-integration as an afterthought. Unparalleled peer-to-peer support has resulted in 200+ Indian success stories and counting.

Click on the Join Now button to know more.

 

Join Now