00:05:00
React Native: How to easily configure launch Icons for Android & iOS
Описание
This video will guide you how to add luncher icon to project just use only one image.
1. npm install -g yo generator-rn-toolbox
2. yo rn-toolbox:assets --icon (path-to-your-icon-file)
3. ? Name of your react-native project (your project name) then press Enter
If not success and show the error below:
Error: Could not execute GraphicsMagick/ImageMagick: identify "-ping" "-format" "%wx%h" "src/icon/luncher_icon.png" this most likely means the gm/convert binaries can't be found
How to fixed it:
1. brew install imagemagick