It helps you to change your flutter project's AppName and BundleId for different platforms, currently only available for IOS, Android and macOS
You can change the bundleId and appName in following folders
- IOS
- Android
- MacOS
- Linux
pub global activate rename
if you dont pass -t or --target parameter it will try to rename all available platform project folders inside flutter project.
Run this command inside your flutter project root.
pub global run rename --bundleId com.onatcipli.networkUpp
pub global run rename --appname "Network Upp"
if you want to run commands directly (without using pub global run
)
ensure you add system cache bin directory to your path
rename --appname yourappname -t ios
or
pub global run rename --appname yourappname --target macOS
To target a specific platform use the "--target" option. e.g.
pub global run rename --bundleId com.example.android.app --target android
-t, --target Set which platforms to target.
[android, ios, macOS, linux]
-a, --appname Sets the name of the app.
-b, --bundleId Sets the bundle id.
-l, --launcherIcon Sets the launcher icon. (deprecated currently)
-h, --help Shows help.
- Getting the current app names and bundleIds
- Changing launcherIcon fix
- Null safety