Progressive Web Apps browser support & compatibility
Written by Muriel Santoni on
One of Progressive Web Apps strongest points is that they are adaptive, meaning that they always provide the best experience possible based on the screen they're being viewed on, as well as the capabilities of the browser they're being run on.
Therefore, it's useful to be aware of each browser's capabilities and its compatibility with Progressive Web App features.
Here is the list of the main browsers on the market, and their compatibility with the key PWA features. The interactive table below sums it up. Select the browser that interests you and check out its compatibility with the different features, also taking into account the screen type and operating system being used.
Therefore, it's useful to be aware of each browser's capabilities and its compatibility with Progressive Web App features.
Here is the list of the main browsers on the market, and their compatibility with the key PWA features. The interactive table below sums it up. Select the browser that interests you and check out its compatibility with the different features, also taking into account the screen type and operating system being used.
1) Advanced user experience & offline functionality
The first advantage Progressive Web Apps have over classic Web Apps is undeniably the exceptional user experience they offer.
We recently spoke about the use of Service Workers, which allow PWA developers to integrate a number of advanced features.
The Service Worker is installed in the browser the first time the PWA is used and then performs tasks it is assigned in an independent manner.
Here is the list of browsers that support the installation of the service worker :
We recently spoke about the use of Service Workers, which allow PWA developers to integrate a number of advanced features.
The Service Worker is installed in the browser the first time the PWA is used and then performs tasks it is assigned in an independent manner.
Here is the list of browsers that support the installation of the service worker :
Like we said, the Service Worker allows for advanced functionalities to be built, such as background synchronisation, allowing up to date data to be directly displayed to the user when he arrives (thanks to the regular data updating done in the background).
The synchronisation allows for an extremely smooth user experience by significantly speeding up the app's performance.
The synchronisation allows for an extremely smooth user experience by significantly speeding up the app's performance.
Offline accessibility also relies on the Service Worker, which once installed in the browser, manages the caching of the app files, intercepts network requests, and then performs the appropriate actions depending on the whether or not the network is available.
This functionality allows for the app to be visited without a connection, as well as for improved user experience to be enjoyed, since even when an internet connection is available, certain files won't need to be loaded from the web server since they'll already have been locally stored.
This functionality allows for the app to be visited without a connection, as well as for improved user experience to be enjoyed, since even when an internet connection is available, certain files won't need to be loaded from the web server since they'll already have been locally stored.
2) Web push notifications
This feature is possible thanks to service workers' capacity to work in the background.
To enable this, two complementary elements work together : the Push API and the Notification API.
To enable this, two complementary elements work together : the Push API and the Notification API.
- The Push API is used to notify a service worker of a notification's presence.
- The Notification API is used to trigger the display of a notification in a browser.
The table below details the compatibility of different browsers with this system that manages the reception and display of push notifications.
All, except for Safari, rely on Service Workers to achieve these results. Safari uses an Apple-specific system called APNs that allows notifications to be received on OS X, but not on iOS.
All, except for Safari, rely on Service Workers to achieve these results. Safari uses an Apple-specific system called APNs that allows notifications to be received on OS X, but not on iOS.
3) Home screen & Splashscreen
Another particular thing about PWA's is that even though they run via a browser, they can be installed directly onto the user's home screen and they offer an experience on an immersive, full screen.
This behavior is possible thanks to a JSON Manifest that is actually a descriptive file allowing developers to control the way the Progressive Web App behaves.
The JSON Manifest will allow the application to be saved onto the home screen of the device from the browser.
The app will then have its own icon and name, previously defined in the Manifest.
This behavior is possible thanks to a JSON Manifest that is actually a descriptive file allowing developers to control the way the Progressive Web App behaves.
The JSON Manifest will allow the application to be saved onto the home screen of the device from the browser.
The app will then have its own icon and name, previously defined in the Manifest.
The Manifest also allows for a splashscreen to be displayed that the user will see upon opening the application, or while data is being downloaded or retrieved from the cache.
4) Geolocation
Information concerning the app user's geolocation can be retrieved by using the Geolocation API, which allows (with the user's permission) his location to be found.
It also allows you to keep an eye on the user and to be notified if a position change occurs.
It also allows you to keep an eye on the user and to be notified if a position change occurs.
The Geolocation API only works in apps under HTTPS, and allows for this precious information to be obtained in a secure way.
Through this API, you can build engagement and loyalty strategies that were unheard of in the web world up until now.
Through this API, you can build engagement and loyalty strategies that were unheard of in the web world up until now.
5) Video & Image capturing
Up until not long ago, the only way to get photos and videos on mobile devices was to use a standard HTML element that allowed for apps providing images to be launched, such as the camera. You had no choice but to leave the Web App.
Today, the "Media Capture API" allows Web Apps to have direct access to devices' audio and video feeds (the camera and microphone). These feeds can be read and handled from the Web App.
It is therefore possible to take a picture or record a video without leaving the browser, for example.
Today, the "Media Capture API" allows Web Apps to have direct access to devices' audio and video feeds (the camera and microphone). These feeds can be read and handled from the Web App.
It is therefore possible to take a picture or record a video without leaving the browser, for example.
6) Bluetooth
Progressive Web Apps can also securely communicate with Bluetooth devices.
Reserved for native apps only up until now, Bluetooth usage on the web has been made possible thanks to the Web Bluetooth API.
This API makes communication between a Web App and a device possible : the application prompts the browser to display a list of surrounding Bluetooths in proximity, and the user chooses a device or closes the dialog box.
In order to avoid any security risks, the application must absolutely be running under HTTPS in order to use the Web Bluetooth API.
Here is the list of browsers compatible with this API :
Reserved for native apps only up until now, Bluetooth usage on the web has been made possible thanks to the Web Bluetooth API.
This API makes communication between a Web App and a device possible : the application prompts the browser to display a list of surrounding Bluetooths in proximity, and the user chooses a device or closes the dialog box.
In order to avoid any security risks, the application must absolutely be running under HTTPS in order to use the Web Bluetooth API.
Here is the list of browsers compatible with this API :