tentone / nunuStudio

Web powered cross-platform 3D, WebXR game engine.
https://nunustudio.org
MIT License
2.09k stars 313 forks source link

TWA Export (Android's Trusted Web Activity) #311

Open ggcaponetto opened 4 years ago

ggcaponetto commented 4 years ago

TWA in a nutshell

Cordova puts the web resources, needed to run a nunuStudio project, into a WebView. A TWA, launches Chrome with all it's good Web and Chrome-API's.

Benefits

Chrome is preferable because WebViews has not all feature Chrome has. https://developer.chrome.com/multidevice/webview/overview

Proposal

My proposal is to integrate a build-pipeline that lets you build a signed APK and assetlinks to be integrated in the HTML for the "verification process". I would like to experiment a little bit with it, and work on a PR if this feature gets some attention.

tentone commented 4 years ago

Hello

I have been working on cordova export for nunuStudio, i got it too work but never managed to polish the feature and integrate into prod builds.

I also considered delivering the exported web apps by default with a service worker for PWA installations.

Thanks a lot