Skip to content
This repository has been archived by the owner on May 13, 2021. It is now read-only.

Web Bundle support #340

Open
FluorescentHallucinogen opened this issue Dec 13, 2019 · 3 comments
Open

Web Bundle support #340

FluorescentHallucinogen opened this issue Dec 13, 2019 · 3 comments

Comments

@FluorescentHallucinogen

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.

@Jaifroid
Copy link

But it only works on Chrome?

@FluorescentHallucinogen
Copy link
Author

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

@getify
Copy link

getify commented Apr 21, 2021

I would like this as well!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants