React Native uses logical pixels (also known as βdotsβ on iOS), unlike device pixels at the JavaScript level. When working at your own level, sometimes you may need to work with the pixels of the device, multiplying the logical pixels by the screen scale (for example, 2x, 3x).
When you work with images, you need to specify their sizes in logical pixels. In addition, React Native supports fractional pixels. When you need to specify exact layouts when detailing the pixels of a device, use 1 / PixelRatio.get() .
source share