bamlab/generator-rn-toolbox

Add support for non square images

timxor opened this issue · 1 comments

Steps to reproduce:

Mojo git:(bouncers-line) ✗ yo rn-toolbox:assets --icon src/images/mojo-cat.png
? Name of your react-native project Mojo
Please use a square image
➜  Mojo git:(bouncers-line) ✗

Hello, we just revamped the generator 😁

For up to date icon and splashscreen generation please use @bam.tech/react-native-make

The new version handles non-square images thanks to the switch to sharp for image processing. So it should solve your issue 😉