change_app_name 1.0.0 copy "change_app_name: ^1.0.0" to clipboard
change_app_name: ^1.0.0 copied to clipboard

A CLI tool to batch-update Flutter app display names and output names across Android, iOS, macOS, Linux, Windows, Web, and OHOS.

change_app_name #

Chinese README

change_app_name is a CLI tool for Flutter projects that updates app names across platforms in one run.

Supported Platforms #

  • Android
  • iOS
  • macOS
  • Linux
  • Windows
  • Web
  • OHOS

What It Updates #

  • Launcher/display name on mobile and desktop.
  • Binary/output app name where supported (.exe, Linux binary name, macOS app name, etc.).
  • Web title and manifest name.
  • OHOS package/resource naming fields (including locale-specific resources).

Installation #

Add this to dev_dependencies:

dev_dependencies:
  change_app_name: ^1.0.0

Basic Usage #

In your target Flutter app's pubspec.yaml:

change_app_name:
  name: "My Cool App"

Run:

flutter pub get
dart run change_app_name

OHOS Locale Override (Optional) #

If you want different names for OHOS locales:

change_app_name:
  name: "My Cool App"
  ohos:
    base: "My Cool App"
    en_us: "My Cool App"
    zh_tw: "My Cool App TW"

Rules:

  • If a locale folder exists under ohos/entry/src/main/resources/**/element/string.json, it updates EntryAbility_label when present.
  • If a locale is configured but folder does not exist, the tool creates <locale>/element/string.json.
  • If not configured, it falls back to change_app_name.name.
0
likes
120
points
112
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A CLI tool to batch-update Flutter app display names and output names across Android, iOS, macOS, Linux, Windows, Web, and OHOS.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

xml, yaml

More

Packages that depend on change_app_name