bubblewrap icon indicating copy to clipboard operation
bubblewrap copied to clipboard

Enforce https manifest URL

Open joycetoh8 opened this issue 2 years ago • 1 comments

For ChromeOS, https should be enforced for the manifest URL as PWAs are not allowed to use http. If a http manifest URL is used to create a TWA via Bubblewrap, ChromeOS will install the PWA with http causing a weird launch behavior from Play.

joycetoh8 avatar Oct 19 '23 22:10 joycetoh8

Adding some more details:

To allow both things, It seems that separating the URL used to bootstrap the app from the webManifestURL would be the best way to go.

My proposed solution would be to ask the developer for the Manifest URL when creating the application, using the one provided to bootstrap it as default, and validate if it is HTTPS when doing that.

andreban avatar Oct 20 '23 08:10 andreban