androidiosflutterdartlocalnotification

Flutter: Local Notifications changing name of the app


I have the flutter local notifications package installed and everything works just fine except for one thing: When the screen is locked and a local notification appears, on iOS it doesn't show the real name of the App but only the name of the flutter project. And if I unlock the screen, the real name of the App appears.

I already changed the App name like you normally would do it, so going to the android folder/app/src/profile/AndroidManifest.xml and also on iOS Runner/Info.plist and change the name.

I also changed the title inside the NotificationController, but this only effects the name of the local notification when the screen is unlocked.

How can I change it so that not depending on wether the screen is locked or unlocked, only the real App name is shown? Thank you very much!


Solution

  • Ok I guess I know whats going on. Somehow in debug mode sometimes the "real" name of the app doesn't show up but the project name. When releasing the app, this issue disappears. So if anyone else has this problem, don't worry about it, just release the App, it will function correctly.