CFBundleDisplayName not working for me (iOS)

#1

Hey everyone,

I’m working on an app that has two words for its name and I noticed that once I install it from TestFlight the app name looses its space between the two words - I’ve tried to setup the infoPlist config in the app.json file settings up CFBundleDisplayName - but it didn’t help.

Any ideas how to solve this?

Thanks,

Nir

1 Like
#2

Isn’t it coming from your app.json version property?

#3

Not sure I understand what you mean…

#4

A property could override another?

#5

Yes, look for infoPlist in https://docs.expo.io/versions/latest/workflow/configuration.html

#6

I have the same issue. Had to detach app and set display name in Xcode.

#7

It sounds like it was working at some point. I’m googling around to investigate a solution, since I too have an app with two words. I havn’t tried anything yet, I’ll post back here if I have luck.

1 Like
#8

@nirpeled curious, did you see this issue in a simulator build? I just tested a simulator build with the infoPlist described and it properly has the space between the two words.

#9

@nirpeled so it turns out that this is an iOS & Test Flight thing. Nothing to do with expo. The ‘dot’ next to the app actually reduces the space for the app name. And iOS removes spaces from app names if it goes into truncation mode.

See the following links. I’d recommend to test the simulator version and you’ll discover that the spaces are intact. I’m going to remove my CFBundleDisplayName option in my app.json b/c I think I don’t need it to have this space.

https://webcache.googleusercontent.com/search?q=cache:Lwlhnyb7XswJ:https://forums.developer.apple.com/thread/98916+&cd=1&hl=en&ct=clnk&gl=us

1 Like
#10

Oh wow that’s awesome, I was afraid I was doing something wrong.

Thank you so much for your help :clap:

1 Like
#11

Glad you got it resolved! Thanks for the assist, @qmitchell!

1 Like
closed #12

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.