How to change the app display name build with flutter?

后端 未结 11 544
轻奢々
轻奢々 2020-12-12 12:08

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 ch

11条回答
  •  独厮守ぢ
    2020-12-12 12:40

    It's very easy to changing the app display name

    Android

    Go to AndroidManifest.xml, find tag. Change its android:label property with your desired app name.

    Navigate to the : android/app/src/main/AndroidManifest.xml

    
    

    This portion represents the actual Android file naming system. Important information like Launcher Icon and App name can be controlled here. Modify the android:label to change the App Name only.

    iOS

    For iOS, open info.plist. Change CFBundleName (Bundle Name).

    Go to the Xcode project folder and open Info.plist for edit (in Xcode you can choose Open As > Source Code in file context menu). All we need is edit value for key CFBundleName. It’s a user-visible short name for the bundle.

    Navigate to the: project/ios/Runner/Info.plist

    CFBundleName
    YouAppName
    

    That’s achieved, your new app name will be displayed on the your phone now.

提交回复
热议问题