# 生成不同尺寸的启动图和图标
方式一
方式二
各种尺寸Icon图标生成
使用图标工厂生成 https://icon.wuruihong.com/
- 安卓下替换
andriod/app/src/main/res/下的mipmap文件即可 - iOS下替换如下

各种尺寸启动图图标生成
启动图也可以使用图标工厂生产了 https://icon.wuruihong.com/splash
- 安卓下拷贝生成的文件到
andriod/app/src/main/res/目录下

- iOS下拷贝生成的该文件夹替换即可

# 安卓端
修改图标和名称
找到根目录
/android/app/src/main/res

启动页
- 在
react-native的android中的启动图和IOS不相同点在于,android没有默认的启动图,在IOS里面有- 使用插件
import SplashScreen from 'react-native-splash-screen';- https://github.com/crazycodeboy/react-native-splash-screen
把生成好的启动页按这个格式处理即可

# iOS端
修改app名称
编辑
ios/test/Info.plist文件
<key>CFBundleDisplayName</key>
- <string>$(PRODUCT_NAME)</string>
+ <string>测试程序</string>