I am not sure what I did wrong when changing the app’s name but here is what I did:
- List item
- I changed the app label in
AndroidManifest.xml
- App’s name for iOS didn’t need any change so I left it as it is.
App’s name changes correctly but when going into the multitask screen, the name changes to something else. That name is actually a name I used before for another application. What I do is upload the same app but personalized for different clients. I have a github branch for every client. This is the first time to upload each client’s app so what I did is before creating a new project, I delete all files and folders except .git
folder and then create the next client and so on. The app name that shows in the multitask screen is the first app’s name. Why is this happening and how to fix it ??
2
Answers
I think I found the problem. It was because I forgot to change the
title
in theMaterialApp
widgetPlease verify with this code:
This works for me.