1. Change App Name for Android
To change the app name for the Android version of your Flutter app, follow these steps:
- Open the
AndroidManifest.xml
file located inandroid/app/src/main/AndroidManifest.xml
. - Find the
<application>
tag and update theandroid:label
attribute to your desired app name.
<application android:label="Your New App Name" android:icon="@mipmap/ic_launcher">
After making the changes, save the file and rebuild your app.
2. Change App Name for iOS
To change the app name for the iOS version of your Flutter app, follow these steps:
- Navigate to the
Info.plist
file located atios/Runner/Info.plist
. - Locate the key
CFBundleDisplayName
and update its value to your desired app name.
<key>CFBundleDisplayName</key> <string>Your New App Name</string>
Save the file, and your iOS app name will be updated when you rebuild your app.
3. Rebuild the App
After modifying both Android and iOS app names, make sure to rebuild your app:
- Run the following commands to clean, get dependencies, and run the app:
flutter clean flutter pub get flutter run
This will apply the changes and launch your app with the new name.
4. Verify the Changes
After running the app, verify the following:
- For Android: Check the app name on your Android device home screen or app drawer.
- For iOS: Check the app name on your iOS device home screen.