Skip to content

[Flutter] How To Change The App Name

When we developing a Flutter App, we named a temporary name in the first build. But in the process of development, perhaps changes in functions or changes in ideas, we may have to change the name of the App to a different one.

In the Flutter project, if we want to change the name of the App, the steps we need to perform are different depending on the Android and iOS platforms.

The following will record the practices of the different platforms.


Change the App name

Android

We can edit the android/app/src/main/AndroidManifest.xml file, change the APPNAME attribute:

<application
        android:name="io.flutter.app.FlutterApplication"
        android:label="APPNAME"
        android:icon="@mipmap/ic_launcher">


This will change the name of the App. If there is an old version of the App in the test device, it may need to be removed and reinstalled.


iOS

To edit ios/Runner/Info.plist file, and change the APPNAME attribute:

<key>CFBundleName</key>
<string>APPNAME</string>


If there is an old version of the App in the test device, it may need to be removed and resintalled.


References


Read More

Tags:

Leave a Reply