Web technology that replaces mobile applications
Implementation of PWA and TWA for a B2B e-commerce system
Progressive Web Applications (PWA)
Trusted Web Activities
Is a technology developed by Google that allows you to “wrap” websites in the PWA (Progressive Web Application) standard as Android applications. In other words, it's a lightweight “PWA container”. A TWA application is indistinguishable from native applications and can be found in the Google Play store.
First step: PWA
We had to prepare configuration files (PWA manifests) for eleven countries to adapt the platform to the PWA standard.
In practice, this means we had to:
TWA: applications for thirteen countries in Google Play
The next step was to “wrap” the platform developed in the PWA standard as a TWA application that could be published in Google Play. As a result, launching the installed application on Android opens a full screen of the Chrome browser, with its interface (including the URL bar) hidden.
TWA also protects the displayed page from being read or modified by an external application (browser).
On the other hand, the use of TWA presented a challenge related to SSO. When a customer signs into the platform, they are redirected to a common authentication and authorisation system. Certain changes to the SSO mechanism had to be made before it started working with TWA.
Given the current possibilities of web technologies, developing and maintaining dedicated native applications is not the best solution in many cases. The business needs of mobile users can also be satisfied with PWA and TWA. The example of Inter Cars shows that PWA and TWA allow us to deliver applications faster and cheaper. At the same time, they are just as convenient and intuitive as mobile applications. This solution makes system expansion easier. As a result, the application has been adapted to the requirements of individual markets and brought to the Google Play store in several countries.