Capacitor App Identifier and Name Updater

1.0.4 · active · verified Tue Apr 21

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.

Common errors

Warnings

Install

Imports

Quickstart

Demonstrates how to update the application bundle ID and display name of a Capacitor project using the CLI tool.

npx capacitor-identity --bundleId com.example.newapp --appName "New App Staging"
# After running, ensure to sync and rebuild your native projects:
npx cap sync
npx cap open ios
npx cap open android

view raw JSON →