How to change the app display name build with flutter?

后端 未结 11 553
轻奢々
轻奢々 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:16

    The way of changing the name for ios and android clearly mentioned on the documentation as follows:

    https://flutter.dev/docs/deployment/android https://flutter.dev/docs/deployment/ios

    but, the case of ios after you change the Display Name from Xcode you cannot able to run the application on flutter way, like flutter run

    because the flutter run expects the app name as Runner. even if you change the name in Xcode it doesn't work.

    So, I fixed this as follow:

    move to the location on your flutter project

    ios/Runner.xcodeproj/project.pbxproj and find and replace your new name with Runner

    then everything should work on flutter run way

    but don't forget to change the name display name on your next release time. otherwise, AppStore reject your name.

提交回复
热议问题