News for hackers. Stuff that matters.
Re:Downfall Attacks by eternityforest on Wednesday August 09, 2023 @12:18AM (#37058636)
We really need to standardize "just wrapping a browser view". Why are we shipping a whole browser when we could be shipping a zip file of HTML with some metadata, and maybe a few tiny native helper utilities?
Re:Downfall Attacks by asaddhamani on Wednesday August 09, 2023 @12:56AM (#37058851)
This is how PWAs work on smartphones. I recall coming across some electron alternatives that use the system webview and those are able to generate binaries hundreds of kilobytes in size. But you lose out on access to many of the modern APIs due to Safari there.
Re:Downfall Attacks by vbezhenar on Wednesday August 09, 2023 @01:08AM (#37058923)
This is standardized for many years and called PWA. There are ways to interact with native helper utilities as well (simplest is just run http server on localhost), but not for mobile apps.

For mobile apps you can use webview component which will use system browser. You don't need to ship the entire browser (actually you can't even do that on iOS).