苹果在如何更改IOS应用程序的显示名称方面有clear instructions条建议,但它们对react-native 应用程序没有用处,因为文件夹 struct 不同.如果您有react-native 应用程序,如何更改显示名称?
苹果在如何更改IOS应用程序的显示名称方面有clear instructions条建议,但它们对react-native 应用程序没有用处,因为文件夹 struct 不同.如果您有react-native 应用程序,如何更改显示名称?
转到ios/<Appname>/Info.plist
并编辑$(PRODUCT_NAME)
以更改显示名称
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
转到android/app/src/main/res/values/strings.xml
并编辑APP_NAME
以更改名称
<string name="app_name">APP_NAME</string>