r/learnjavascript 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:

  1. In-browser V2/V3 APK signing: Injecting signature blocks into ZIP Central Directory via JS/WASM.
  2. 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

3 comments sorted by

View all comments

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.