PWABuilder-CLI icon indicating copy to clipboard operation
PWABuilder-CLI copied to clipboard

Web Bundle support

Open FluorescentHallucinogen opened this issue 6 years ago • 3 comments

I see Web Bundles (*.wbn files) as universal executable format for web apps in the future (instead of *.apk (WebAPK, TWA), *.appx, etc.).

Read more about Web Bundles here: https://web.dev/web-bundles/.

Currently, PWABuilder can output APK (Trusted Web Activity) files.

TWA has a problem that if the device is offline in the first run, TWA can't show any content. Also, it takes time to load the page in the first run on flaky network.

Looks like Web Bundles can fix this.

  1. What about generating the *.wbn file and placing it inside APK?

TWA can open the web bundle file from the APK in the first run (the page in the bundle file installs a service worker).

Web Bundles can be created using wbn npm package.

  1. What about adding support of *.wbn files to PWABuilder as one of the output format?

  2. What about adding support of *.wbn files to Microsoft Store as one of the input format?

The web bundle file contains all necessary data to publish in app stores: web app manifest with name, icons, description and screenshots.

It's possible to verify the owner and integrity of signed web bundles.

FluorescentHallucinogen avatar Dec 13 '19 13:12 FluorescentHallucinogen

But it only works on Chrome?

Jaifroid avatar Dec 31 '19 10:12 Jaifroid

@Jaifroid Yes, at this moment it's implemented only in Chromium. So it's expected in the near future in other Chromium-based browsers like Microsoft Edge, Samsung Internet, etc.

FluorescentHallucinogen avatar Jan 09 '20 13:01 FluorescentHallucinogen

I would like this as well!

getify avatar Apr 21 '21 14:04 getify