Comments (1)
Adding some more details:
- on Android, it's OK for a developer to bootstrap a TWA with an http URL, because the URL launched by application is a concatenation of "https://" + hostname + path.
- ChromeOS uses the webManifestURL, which is a passthrough of the Manifest URL used to bootstrap the TWA, and using HTTP for this URL should be an error. This field is unused on Android.
- #401 is a feature-request to be able to bootstrap an application from a local.
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.
from bubblewrap.
Related Issues (20)
- Should touchscreen user-feature be non-required in manifest
- Disable Screen Rotation HOT 1
- PWA: Call to Javascript "alert()" causes un-dismissible URL bar to appear
- CLI ERROR ON BUILD HOT 2
- Play Store: "This SDK version has been reported as outdated." HOT 3
- cli ERROR unrecognised content at end of stream HOT 1
- Unable to use Bubblewrap Build HOT 6
- Digital Goods API not working? HOT 2
- URL Bar Visible on Additional Trusted Origin Domain in PWA APK HOT 2
- Improving Update Mechanism Handling in LauncherActivity - Force and Optional Update
- Upgrade to target SDK version 34 HOT 22
- Bubblewrap is generating invalid APKs.
- Google Play Billing 6.01? HOT 4
- Bubblewrap broken? HOT 4
- JDK version error on build after updating to CLI v1.22.0 HOT 4
- Dockerfile needs to upgrade JDK after v1.22.0
- v1.22 having issues with existing and new .keystore files. HOT 1
- Splash Screen Background Color for Dark Mode
- A fatal error has been detected by the Java Runtime Environment
- Bubblewrap does not take "scope" from manifest into account to generate `AndroidManifest.xml`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bubblewrap.