I have 5 images from designer mdpi, hdpi, xhdpi, xxhdpi and xxxhpdi as I found out that in React Native i can only give
- check.png
- [email protected]
- [email protected]
I have read Image sizes for android and iOS in react-native but i don't how to provide hdpi(1.5x) and xxxhdpi(3.5x) images?
We simply don't need the intermediate ratio assets while working with React Native,
2x
and3x
works very well forhdpi>=
requirements. Technically speaking, when you bundle the RN project in Android or when it gets bundled while building, you will be able to see autogenerated transformed image assets inandroid/app/src/res/drawable
which are required for the app to render on target screen resolutions. I would recommend observing those auto-generated assets after building the bundle, you will have fruitful insights about the asset distribution and usage.