rename
3.1.0, released 2 years ago by onatcipli.dev
CLI tool to rename Flutter app name and bundle identifier across platforms.
What it does
Provides commands to get or set the app name and bundle ID for iOS, Android, macOS, Linux, Windows, and web projects. It edits the relevant platform files, supporting both Groovy and Kotlin Gradle scripts.
AI-written summary of version 3.1.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to change the app name or bundle identifier for an existing Flutter project across multiple platforms
- You prefer a quick command‑line solution rather than manual file edits
Skip it when
- Your project uses flavor configurations (may be incompatible)
- You require a programmatic API to rename at runtime
- You need deep integration with other build tools
Strengths
- Supports all major Flutter platforms
- Handles both Groovy and Kotlin Gradle files
- Simple global activation and usage
Weaknesses
- Not compatible with flavor setups
- Only a CLI tool—no Dart API for in‑app use
- Windows path/permission quirks
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 3
Run `flutter pub global activate rename` and ensure the global pub cache bin is on your PATH.
rename setAppName --targets ios,android --value "MyApp"Alternatives
Packages that do the same job and could replace rename.
- hotreloader
Automatic hot code reloader for Dart projects that applies file changes to the running process.
70Compare - package_rename_plus
Configure app names, package names, and identifiers across platforms.
53Compare - xcode_parser
Read, modify, and save Xcode project .pbxproj files programmatically
48Compare
Works with
Packages commonly used together with rename: ones it builds on, ones built on it, and its own family.