Socket
Book a DemoInstallSign in
Socket

bare-apk

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bare-apk

APK packaging tools for Bare

latest
Source
npmnpm
Version
0.1.2
Version published
Maintainers
2
Created
Source

bare-apk

APK packaging tools for Bare.

npm i bare-apk

Usage

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])

Options include:

options = {
  targetSDK: DEFAULT_TARGET_SDK,
  // Additional files and directories to include in uncompressed format
  include: [],
  // Resource directory to compile and compress
  resources
}

await createAPKSet(bundle, out[, options])

Options include:

options = {
  universal: false,
  archive: true,
  sign: false,
  keystore,
  keystoreKey,
  keystorePassword
}

await createAPK(bundle, out[, options])

Options include:

options = {
  sign: false,
  keystore,
  keystoreKey,
  keystorePassword
}

constants

ConstantDescription
ANDROID_HOMEThe Android SDK root directory.
DEFAULT_MINIMUM_SDKThe default minimum Android SDK API level.
DEFAULT_TARGET_SDKThe default target Android SDK API level.

License

Apache-2.0

FAQs

Package last updated on 16 Dec 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts