ionic-team/trapeze

Replacement encodes special characters

carlvorster opened this issue · 2 comments

I'm trying to inject the following into my Info.plist file to force the space in the name, but is seems Trapeze is converting & to & - any idea how to escape this conversion? I've tried , , quotes

.yml

ios:
    targets:
      App:
        version: $VERSION
        incrementBuild: true
        bundleId: $BUNDLE_ID
        displayName: STAGING Market

info.plist

<key>CFBundleDisplayName</key>
<string>STAGING&amp;#x2008;Market</string> 

I'm trying to inject the following into my Info.plist file to force the space in the name, but is seems Trapeze is converting & to & - any idea how to escape this conversion? I've tried , , quotes

.yml

ios:
    targets:
      App:
        version: $VERSION
        incrementBuild: true
        bundleId: $BUNDLE_ID
        displayName: STAGING&#x2008;Market

info.plist

<key>CFBundleDisplayName</key>
<string>STAGING&amp;#x2008;Market</string> 

What happens if you just use a space for displayName?

@theproducer the space works fine; the problem I'm trying to solve is that Apple strips whitespace if the app name is longer than 12 chars, the workaround is to use this special char, it "simulates" a space. The workaround works 100% if I update the info.plist file directly, but I need to to push this through Trapeze for CI, staging builds and white labeling....