GoogleChromeLabs / GoogleChromeLabs/bubblewrap

Pack Web Bundle into Trusted Web Activity

Open
#50 4 comments 2 reactions 0 assignees View on GitHub
depends-external enhancement
Dominant language
TypeScript
Stars
3.1k
Forks
319
PR merge metrics
No merged PRs in 30d

Description

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](https://web.dev/web-bundles/) can fix this: 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](https://www.npmjs.com/package/wbn) npm package.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.