The `bmt-mobile-build-tools` package, currently at version 0.0.95, provides a collection of internal command-line utilities specifically designed to automate and streamline various aspects of mobile application build processes for both Android and iOS platforms. Its core functionalities include the automated uploading of compiled application binaries (APKs for Android, IPAs for iOS) to App Center, leveraging a configurable JSON structure for project details and distribution settings. Additionally, it offers robust capabilities for generating application icons and splash screens, which includes support for dynamically overlaying dates and version numbers onto the assets. This icon generation feature integrates with Ionic Pro for its underlying image processing requirements. As an internal build tool, its development and release cadence are typically aligned with the maintaining organization's internal product cycles, distinguishing it from general-purpose public libraries through its tailored integration with specific internal build environments and App Center workflows.
npm install bmt-mobile-build-toolsNo compatibility data collected yet for this library.
Demonstrates how to configure and invoke the `bmt-mobile-build-tools` CLI for uploading builds to App Center and generating mobile application icons, including environment setup notes.
Ensure Ionic Pro is correctly configured and authentication details are available in the environment before running the `icons` command.
Externalize sensitive credentials like `apiToken` using environment variables (e.g., `process.env.APPCENTER_API_TOKEN`) or a secure secrets management system, passing them dynamically if the tool supports environment variable substitution in config files.
When running the `icons` command directly from the terminal outside of an `npm run` script, provide a fixed version number (e.g., `--version=1.0.0`) or omit the `--version` flag if not needed.
Verify that the path provided to `--config` is accurate and the file is accessible from the directory where the `bmt-mobile-build-tools` command is executed.
Set the `$IONIC_EMAIL` and `$IONIC_PASSWORD` environment variables in your shell, or run the command interactively to provide credentials when prompted.
Correct the file path provided to the `--config` argument, ensuring the file exists at the specified location relative to the execution directory or as an absolute path.
Include the `--platform` argument with a valid value (either `--platform=android` or `--platform=ios`) when running the `upload` command.
Verify that the `apiToken` in your `appcenter.config.json` or environment variables is correct, active, and belongs to an account with the necessary access rights in App Center.