change_app_package_name
1.5.0, released 2 years ago by atiq.dev
Rename Flutter app's Android and iOS package identifiers via a single CLI command.
What it does
Updates AndroidManifest, build.gradle, MainActivity files and iOS bundle identifier to a new package name. Moves files to the new directory structure and removes the old one. Supports selective platform renaming.
AI-written summary of version 1.5.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to change the app's package/bundle identifier for rebranding or publishing under a new ID
- You want an automated, one‑command way to update all related files across Android and iOS
Skip it when
- Your project uses custom Gradle or Xcode configurations that the tool can't detect
- You require runtime package name changes or dynamic identifiers
Strengths
- Handles both Android and iOS in one step
- Supports latest Flutter versions and Kotlin/Java MainActivity files
- Can target a single platform if needed
Weaknesses
- CLI‑only; no GUI integration
- May not work with heavily customized project structures
- Only updates package name; does not adjust related code references
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
Add to dev_dependencies and run `dart run change_app_package_name:main <new.package.name>`
dev_dependencies:
change_app_package_name: ^1.5.0
# then run
dart run change_app_package_name:main com.example.newname --androidAlternatives
Packages that do the same job and could replace change_app_package_name.
- native_toolchain_rust
Build and bundle Rust code into a Dart/Flutter project via build hooks.
88Compare - msix
CLI tool that creates MSIX installers from Flutter Windows build outputs.
77Compare