package_rename_plus
1.11.0, released a year ago by solusibejo.com
Configure app names, package names, and identifiers across platforms.
What it does
A tool to configure your Flutter project for production by changing multiple fields and identifiers across Android, iOS, Windows, macOS, Linux, and Web platforms using a configuration file or pubspec.yaml entry.
AI-written summary of version 1.11.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to rename your Flutter app package name or bundle identifier across multiple platforms.
- You want to set platform-specific app names or configuration values efficiently using a config file.
Skip it when
- You prefer manually editing native configuration files and build settings.
- Your project uses complex native extensions that conflict with automatic batch replacement rules.
Strengths
- Handles multiple fields across multiple files and platforms simultaneously.
- Supports build flavours and custom configuration file paths.
- Blazingly fast replacement mechanism minimizing external dependencies.
Weaknesses
- Requires careful adherence to formatting rules for certain complex native identifiers (like iOS extension targets).
- Third-party fork approach might diverge from official updates.
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 3
Add package_rename_plus to dev_dependencies and add the package_rename_config section to your pubspec.yaml or a separate YAML file.
package_rename_config:
android:
app_name: "My App"
package_name: "com.example.myapp"Alternatives
Packages that do the same job and could replace package_rename_plus.
Works with
Packages commonly used together with package_rename_plus: ones it builds on, ones built on it, and its own family.
- yamlpackage_rename_plus depends on itA Dart library for parsing YAML documents into Dart data structures.
- htmlpackage_rename_plus depends on itA Dart implementation of an HTML5 parser for strings and bytes.
- argspackage_rename_plus depends on itLibrary for parsing raw command-line arguments into options and values using GNU and POSIX styles.