React Native 添加APP图标


for IOS:

  • you should set AppIcon in Images.xcassets.
  • you should upload 9 different size icons 29pt 29pt*2 29pt*3 40pt*2 40pt*3 57pt 57pt*2 60pt*2 60pt*3. picture for setting Images.xcassets

for Android:

  • put ic_launcher.png to folder [PrjDir]/android/app/src/main/res/mipmap-*.
  • 72*72 ic_launcher.png to mipmap-hdpi.
  • 48*48 ic_launcher.png to mipmap-mdpi.
  • 96*96 ic_launcher.png to mipmap-xhdpi.
  • 144*144 ic_launcher.png to mipmap-xxhdpi.

ios: 复制AppIcon.appiconset到 myProject->ios->myProject->Images.xcassets
android: 复制生成的那一堆文件到 myProject->android->app->src->main->res

Write a Comment