Set custom value for CFBundleName

Please provide the following:

  1. SDK Version: 48.0.17
  2. Platforms(Android/iOS/web/all): all

Is it possible to set a custom value for CFBuildName without ejecting and directly editing Info.plist?

Hi @jlindsay_col

By default CFBundleName is set to $(PRODUCT_NAME):

    <key>CFBundleName</key>
    <string>$(PRODUCT_NAME)</string>

You can make changes to Info.plist without ejecting. You just need to add an "infoPlist" section under "ios" in app.json. e.g.:

    "ios": {
      "infoPlist": {
        "CFBundleName": "testing"
      }
    }

Note: As the documentation says:

No other validation is performed, so use this at your own risk of rejection from the App Store.

Also, a config plugin could potentially override something you add here.

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