Skip to content

react native 앱 이름 변경

Published: at 오전 12:00

React Native 앱 이름 변경

기본으로 설정되어 있는 todo라는 앱 이름을 투두리스트로 변경하려고 한다.

IOS 변경

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
 <key>CFBundleDevelopmentRegion</key>
 <string>en</string>
 <key>CFBundleDisplayName</key>
 <string>투두리스트</string> // 해당 부분을 변경
 <key>CFBundleExecutable</key>
 <string>$(EXECUTABLE_NAME)</string>
 <key>CFBundleIdentifier</key>
 <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
 <key>CFBundleInfoDictionaryVersion</key>
 <string>6.0</string>
 <key>CFBundleName</key>
 <string>$(PRODUCT_NAME)</string>
 <key>CFBundlePackageType</key>
 <string>APPL</string>
 <key>CFBundleShortVersionString</key>
 <string>1.0</string>
 <key>CFBundleSignature</key>
 <string>????</string>
 <key>CFBundleVersion</key>
 <string>1</string>
 <key>LSRequiresIPhoneOS</key>
 <true/>
 <key>NSAppTransportSecurity</key>
 <dict>
  <key>NSExceptionDomains</key>
  <dict>
   <key>localhost</key>
   <dict>
    <key>NSExceptionAllowsInsecureHTTPLoads</key>
    <true/>
   </dict>
  </dict>
 </dict>
 <key>NSLocationWhenInUseUsageDescription</key>
 <string></string>
 <key>UILaunchStoryboardName</key>
 <string>LaunchScreen</string>
 <key>UIRequiredDeviceCapabilities</key>
 <array>
  <string>armv7</string>
 </array>
 <key>UISupportedInterfaceOrientations</key>
 <array>
  <string>UIInterfaceOrientationPortrait</string>
  <string>UIInterfaceOrientationLandscapeLeft</string>
  <string>UIInterfaceOrientationLandscapeRight</string>
 </array>
 <key>UIViewControllerBasedStatusBarAppearance</key>
 <false/>
</dict>
</plist>

ios > todo > Info.plist 파일의 CFBundleDisplayName을 투두리스트로 변경해준다.

Android 변경

<resources>
    <string name="app_name">투두리스트</string>
</resources>

android > app > src > main > res > values > strings.xml 파일의 app_name을 투두리스트로 변경한다.

{
  "name": "todo",
  "displayName": "투두리스트"
}

그리고 app.json 파일의 displayName을 투두리스트로 변경해주면 끝