rename 1.2.0
rename: ^1.2.0 copied to clipboard
Helps you to change or rename your flutter project BundleId and AppName for Ios, Android and MacOS platforms
About #
It helps you to change your flutter project's AppName and BundleId for different platforms, currently only available for IOS, Android and macOS
Supported Platforms #
You can change the bundleId and appName in following folders
- IOS
- Android
- MacOS
##Default Usage 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"
##Custom Usage
if you want to run commands directly (without using pub global run
)
ensure you add system catche 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
Parameters #
-t, --target Set which platforms to target.
[android, macOS, ios]
-a, --appname Sets the name of the app.
-b, --bundleId Sets the bundle id.
-l, --launcherIcon Sets the launcher icon.
-h, --help Shows help.