trycua/pwa2apk ? reverse-engineered prompt
Reverse engineered prompt
Build me a small tool that takes a PWA manifest URL and turns it into a real Android APK that feels native, without using Chrome Trusted Web Activity or showing any Chrome banner.
I want to pass in a manifest URL, have it pull the app name, icons, theme colors, start URL, and orientation, then generate an Android app from a built in template that opens the site in a fullscreen WebView. It should handle the back button, show a splash screen with the app icon, and support basic service worker caching if possible.
Please make it able to build a signed APK from the command line, with options for package name, keystore file, alias, password, and output path. If it helps, look up current docs online for anything Android build related. Also make it usable from code, so I can call a build function and get back the APK path and package name.
Are you gonna build this?
make sure you review the code using coderabbit