Konubinix' opinionated web of thoughts

Using a PWA in Your Android App

Fleeting

Using a PWA in your Android app

Bubblewrap

#The Bubblewrap project generates Android apps in the form of a NodeJS library and a Command Line Interface (CLI).

Bootstrapping a new project is achieved by running the tool and passing the URL of the Web Manifest:Copy

npx @bubblewrap/cli init –manifest=https://pwa-directory.appspot.com/manifest.json

The tool can also build the project, and running the command below will output an Android application ready to be uploaded to the Play Store

npx @bubblewrap/cli build

After running this command, a file called app-release-signed.apk will be available in the root directory for the project. This is the file that will be uploaded to the Play Store.

https://web.dev/using-a-pwa-in-your-android-app/