Wrong application name in PUSH NOTIFICATIONS | ios SWIFT - ios

so i was changing the details of an already built ios app and i have changed all the strings etc to change the name of the app, but when the applications gives notification(apple push notifications), it still shows the old app name not the new one. I have also changed the bundle display and bundle package name to the new app name but still not luck. I also tried cleaning build folder and restarting both my mac and the phone.
In the notification, it displays new name and old name as well, this is very weird.
Please refer to the image below.

Comments from the people above are correct. The Bolt data is from your server. The same with your content. So talk to your server/backend guy or do it your self. Also there's a way to somehow handle that.
You can catch the title, the content, and the image (for rich push notification) by adding Notification Content Extension and Notification Service Extension in your project. That would require a bit of work though. I hope this helps!

Hey I got the answer from apple developer page. Just follow these options:-
Select your Targets
Select your Building Settings
Check the Packaging.
Then check what is the Product Name?
In my case Product Name is the old one.
If still you receive the Old name. So for that case delete the application and install the app now you will receive the New name for the application. No need to right the Notification Content Extension and Notification Service Extension for Push notifications.

For changing app name set CFBundleDisplayName value in info.plist file:
CFBundleDisplayName
New app name here
Name specified in this way would be displayed on device under the app icon.
Push notification service depends on app bundle id CFBundleIdentifier.

Related

change app name in App Store and re-use the name on the new app

I have an app called "XX". It's already approved in the app store. For some reasons, I need to change the package name and upload the same app again.
I want to use the old name "XX". Can I change the previous app's name first(I will unpublish this app), and then use the "XX" on my app(the same app).
Any help would be appreciated!
Thanks!
Yes, you can change the name of an app and then use that name in another app with a different bundle id (package name).

iOS push notifications uses bundleID instead of app name

Is there any way to make the app use the app name instead of bundle id in the title of push notifications (alerts). The banners are OK and display the app name and app icon. But the alerts use the bundleID.
iOS has a cache for the push notification settings (the prompt for them, name, etc), that gets refreshed once in a while.
Try changing the date (a day ahead) and/or rebooting the device, which will invalidate the cache and show the correct name.
By default the Alert view title in the PushNotification displays the "Bundle Display name" from info.plist.

Change name of an app when purchasing the full version

I have a 2 version app with IAP implemented. My question is: is it any way to change the app name (xxxx lite) to (xxxx) without the lite?
Of course, this should be a code stuff, not changing the name on the info.plist, because this will be resolved only when I purchase the app.
Thanks.
Through code, there is no way to change the name that appears under the icon. Of course if your app name is displayed anywhere within your running app, you can change that name as needed.

IOS Application Name

I have a strange problem with my application name: my project is called "something - somenumber" (with the dash).
For the submission, the App name I've chosen is without tje dash, infact, in the iTunes Store I can see the name without it.
But when I download my approved App, the name is with the dash..
Have you ever heard something similar???
Is this a problem with the new SDK and IOS version?
Now the name has to coincide with project name???
Thanks
By default, the Bundle display name in the Info.plist of iOS apps is ${PRODUCT_NAME}. ${PRODUCT_NAME}, by default, is the same as the project name, which in your case has a dash. The Bundle display name is the text that gets displayed under your app's icon in the device's home screen. This could be the reason why you can see the dash when you download the app.
You should change the CFBundleDisplayName in the apps Info plist file. This value is what the iOS spring board uses underneath each app. This can also be localised.
.bundle identifier is for the provisioning profile.

'short name' for iOS apps possible?

I'd like to give my app one name for the App Store and one name that appears on the device, as app names that are too long are truncated with '…' on the device but not the store. Is this possible?
Thanks in advance!
The app name you specify in Xcode as the name of your project is the one that will appear on the device. The name in the app store is something you set later when you set up your project on iTunes Connect.
To change your homescreen app name, you can change the Bundle Display Name in your info.plist as Shubhank suggests, or you can just rename your project by clicking twice (two separate clicks - not a double-click) on the project name in the left hand sidebar of Xcode.
Yes..your app can have different name on device and on App store..
Naming your app on app store is kind of basic for an iOS developer.so i won't dive into that..
For on your device....in your project ..in your info.plist change the Bundle Display Name to what you want.

Resources