ionic-team / trapeze

The mobile project configuration toolbox. Manage native iOS, Android, Ionic/Capacitor, React Native, and Flutter apps through a simple YAML format.
https://trapeze.dev
Other
323 stars 40 forks source link

Info.plist character replace #127

Closed aktivdigital-frontend closed 1 year ago

aktivdigital-frontend commented 1 year ago

Hi!

I set app name with space characters in config.yaml. For example: "My App" (there is space character) iOs remove space characters from application name, but there is a workaround solution.

It needed add   instead of space charaters. So the name will this: "My App"

But when I run config.yaml, it makes this in Info.plist:

<key>CFBundleDisplayName</key>
<string>My&amp;#x2007;App</string>

So & will be &amp;

This is not good. There is any solution to this? Thank you!

YadrovSergey commented 1 year ago

I have the same problem.

mlynch commented 1 year ago

Can you show me the yaml you're writing in Trapeze that isn't working?

aktivdigital-frontend commented 1 year ago

Can you show me the yaml you're writing in Trapeze that isn't working?

Hi! I zipped the file, because I can't upload .yaml file:

config.zip

image

trinitiwowka commented 1 year ago

I have a similar problem. Could you make a fix? my application name consists only of numbers, I get a runtimeError. I get ` CFBundleDisplayName

1999` but need ` CFBundleDisplayName 1999` image When $APP_NAME = '1999'
mlynch commented 1 year ago

Okay thanks, I think I'm going to have to add metadata to the vars fields to specify types

mlynch commented 1 year ago

Out now in 7.0.3 https://trapeze.dev/docs/Operations/getting-started#variable-types