Scenario
I have an app that sends notifications to the users. I have recently changed my app name in Xcode (about every way you can change it, "Bundle Name", "Product Name", you 'name' it...) and then changed it all back to the final name.
Problem
Now when I send a notification to the phone it doesn't show the final name change in the header section of the Notification Center. Instead, it is showing the old name that I changed it from.
Picture (circled in red - this is the part that is showing the old name)
FYI
Under the "Info" tab - the fields, "Bundle name" and "Bundle display name" both show the correct final name change.
And under the "Build Settings" tab - the fields, "Product Module Name" and "Product Name" both also show the correct final name change.
Question
Does anyone know if this is a bug or if there is a naming field I'm failing to change for this?
Go to the app > res > values > strings. xml file as shown in the below image. In this file we have a string name as app_name it is the string resource that holds the current app name which is passed in the Manifest. xml file's application tag inside the label attribute.
Rename the Target to Rename the App Select the project from the project navigator to open the project editor and see a list of the app's targets. To rename a target, select it, press the Return key, and enter the new name. If all you want to do is rename the app, you're finished.
Yes you can. By changing the android:label field in your application node in AndroidManifest. xml . to your Splash Screen, then the Launcher Icon name will be changed to the name of your Splash Screen Class name.
Rebooting the device or resetting the simulator seems to fix the issue.
PS: Credit goes to @EricS but thought I would go ahead and make a proper answer so we don't leave the question unanswered.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With