bare-apk
Reference for bare-apk: Android APK and app-bundle packaging tools for Bare.
bare-apk provides Android packaging tools for Bare: build an Android App Bundle (.aab) from a manifest, derive an APK set, and produce an installable .apk. It's pure JavaScript (it shells out to the Android build tools) and is used in the Android packaging path of bare-build.
npm i bare-apkUsage
const { createAppBundle, createAPK } = require('bare-apk')
await createAppBundle('./path/to/AndroidManifest.xml', './app.aab')
await createAPK('./app.aab', './app.apk')API
await createAppBundle(manifest, out[, options])
Build an Android App Bundle (.aab) from an AndroidManifest.xml.
await createAPKSet(bundle, out[, options])
Produce an APK set from an app bundle.
await createAPK(bundle, out[, options])
Produce an installable .apk. constants holds the supporting tables.
See also
- Bundle a Bare app—where app packaging fits in the build flow.
- Bare modules—the full
bare-*catalog. - Bare runtime API—the runtime this targets.