Konubinix' opinionated web of thoughts

Using a PWA in Your Android App


Using a PWA in your Android app


#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.