Change Application Name
To change the app name in a Flutter project for both Android and iOS, you’ll need to update the app’s display name in the project’s configuration files. Here’s how you can do it for both platforms:
Android
In Android, the app name is typically defined in the AndroidManifest.xml file.
Open the android/app/src/main/AndroidManifest.xml file.
Look for the <application> tag and find the android:label attribute. This attribute specifies the app name.
<android:label="Your App Name">
iOS:
In iOS, the app name is defined in the Info.plist file.
- Open the
ios/Runner/Info.plistfile. - Find the
CFBundleNamekey and change its value to the desired app name. This key is typically located in a<dict>section under<key>CFBundleName</key>.
<key>CFBundleName</key>
<string>Your App Name</string>
Update the string value with the desired app name.
After making these changes, the app name should be updated for both Android and iOS. Keep in mind that you might need to rebuild and reinstall the app on your devices or emulators for the changes to take effect.
Additionally, make sure to follow any naming conventions or guidelines specific to each platform, especially if you plan to publish your app on app stores.
