Release steps
- Update app name and bundleID
- Update app icon
- Update splash screen
- Follow the release steps for Android and iOS
Release steps
In Android, app name is set in android/app/src/main/AndroidManifest.xml
<manifest xmlns:android="http://schemas.android.com/apk/res/android"> <application android:label="flutter_starter_kit" android:name="${applicationName}" android:icon="@mipmap/launcher_icon"> </application> </manifest>
In iOS, app name is set in ios/Runner/Info.plist
<key>CFBundleName</key><string>${applicationName}</string>
Bundle ID is unique to the application on the App Store. Easiest way to update the default bundleID is to use rename tool.
pubspec.yaml
dev_dependencies: rename: latest_version
flutter pub get
to install the package.flutter pub global activate rename
to activate the package globally.rename getAppName --targets ios,androidrename getBundleId --targets ios,android
rename setAppName --targets ios,android --value "YourAppName"
. For iOS, this will update the CFBundleName
in Info.plist
. For Android, this will update the android:label
in AndroidManifest.xml
.rename setBundleId --targets ios,android --value "com.yourorgname.yourappname"
. For iOS, this will update the PRODUCT_BUNDLE_IDENTIFIER. For Android, it will update the applicationId
in app’s build.gradle
.flutter_launcher_icons
is tool to set launcher icons for Android and iOS.
Added this code to pubspec.yaml
dev_dependencies: flutter_launcher_icons: latest_version
flutter_launcher_icons: image_path: assets/images/my_logo.png android: launcher_icon ios: true min_sdk_android: 21
Run the command flutter pub get
to install the package.
Run the command flutter pub run flutter_launcher_icons
to generate icons for Android and iOS.
Splash screen is a screen that is displayed when the app is loading. flutter_native_splash
is a plugin to generate a splash screen for Android and iOS.
Added this code to pubspec.yaml
dev_dependencies: flutter_native_splash: latest_version
Run the command flutter pub get
to install the package.
Added the file flutter_native_splash.yaml
to the root directory:
flutter_native_splash: color: "#e4e4e4" image: assets/images/my_logo.png
android_12: color: "#e4e4e4" image: assets/images/my_logo.png
More options are available in the flutter_native_splash documentation.
Apple app review guidelines: It will be useful when submitting the app to Apple for review.