How to change the app display name build with flutter?

rajaishwary picture rajaishwary · Mar 18, 2018 · Viewed 115.4k times · Source

I have created the app using flutter create testapp. Now, I want to change the App name from "testapp" to "My Trips Tracker". How can I do that ?

I have tried changing from the AndroidManifest.xml and It got changed but is there a way that flutter provides to do that ?

Answer

CopsOnRoad picture CopsOnRoad · May 8, 2019

Android

Open AndroidManifest.xml (located at android/app/src/main)

<application
    android:label="App Name" ...> // Your app name here

iOS

Open info.plist (located at ios/Runner)

<key>CFBundleName</key>
<string>App Name</string> // Your app name here

Don't forget to run

flutter clean