capacitor-identity is a focused command-line interface (CLI) tool designed to simplify the process of updating the application ID (bundle identifier for iOS, `applicationId` for Android) and the display name (`appName`) for Capacitor-based mobile applications. Currently at version 1.0.4, it serves as a utility for developers needing to quickly configure their Capacitor projects for different environments (e.g., staging vs. production) or rebranding efforts. Its primary differentiator is its simplicity and direct approach to modifying core native project settings without requiring manual edits in Xcode or Android Studio. It is executed via `npx` and directly manipulates the necessary configuration files within the Capacitor project structure. The package is likely updated on an as-needed basis to support new Capacitor versions or address specific platform changes, rather than following a frequent release cadence, given its specialized function.
npm install capacitor-identityVerified import paths — ran on the pinned version, not inferred.
Demonstrates how to update the application bundle ID and display name of a Capacitor project using the CLI tool.
Navigate to your Capacitor project's root directory (where `capacitor.config.ts` or `package.json` resides) before running the command.
Always provide both `--bundleId com.your.app` and `--appName "Your App Name"` arguments.
Run `npx cap sync` followed by `npx cap open ios` and/or `npx cap open android` in your project root.
Change your current directory to your Capacitor project's root, then re-run `npx capacitor-identity ...`.
Include the `--bundleId com.your.app` argument in your `npx capacitor-identity` command.
Include the `--appName "Your App Name"` argument in your `npx capacitor-identity` command.
No dependency data recorded yet.