Build and release PE (before v1.7)
Before publishing your app, you may want to polish it. Each app should have its own identification. Set a unique label name and app launch icon before releasing it.
Change app name
Section titled “Change app name”Install the rename package
Section titled “Install the rename package”Activate the rename package globally:
flutter pub global activate renameSet app name for both platforms
Section titled “Set app name for both platforms”Use this command to set identical app names for both iOS and Android:
rename setAppName --targets android,ios --value "Your desired app name"Set different names for each platform
Section titled “Set different names for each platform”To set different names per platform, run each command separately:
rename setAppName --targets ios --value "Your iOS app name"rename setAppName --targets android --value "Your Android app name"Change package name
Section titled “Change package name”Set package names
Section titled “Set package names”rename setBundleId --targets android --value "org.yourCompany.app"rename setBundleId --targets ios --value "org.yourCompany.app.ios"Change launcher icon
Section titled “Change launcher icon”Follow the App icon and splash screen guide for detailed instructions on customizing your app icon.
Build and release an Android version
Section titled “Build and release an Android version”When preparing a release version for publishing on Google Play, follow the official Build and release an Android app guide.
flutter build appbundle --no-tree-shake-iconsBuild and release an iOS version
Section titled “Build and release an iOS version”When preparing a release version for publishing on the App Store and TestFlight, follow the official Build and release an iOS app guide.
flutter build ipa --no-tree-shake-icons