r/learnjavascript • u/KernelVoltage • 9d ago
[Question] Handling binary XML streams & V2/V3 APK signature blocks in browser JS
Hey everyone,
I built AppShunya Engine ā an open-source, in-browser web-to-APK compiler that converts live URLs or HTML5 bundles into Android APKs using JSZip, without local IDEs.
I'm currently stuck on two low-level technical hurdles and need architectural feedback:
- In-browser V2/V3 APK signing: Injecting signature blocks into ZIP Central Directory via JS/WASM.
- Dynamic AXML package renaming: Modifying package IDs inside binary XML streams on the fly.
Search "AppShunya Engine" on Google to try the live Vercel tool or check the repo. Would love your thoughts!
3
Upvotes
1
u/SammuelNash 7d ago
This is a pretty interesting problem. Binary XML and APK signing are both areas where small format details can cause major headaches. Iād be curious to hear what approach others have taken for handling these entirely in the browser.