Please provide the following:
- SDK Version: 48.0.17
- Platforms(Android/iOS/web/all): all
Is it possible to set a custom value for CFBuildName without ejecting and directly editing Info.plist?
Please provide the following:
Is it possible to set a custom value for CFBuildName without ejecting and directly editing Info.plist?
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.