Search code examples
react-nativescreenexporesolution

The screen resolution in the application at React Native in Expo does not match the screen resolution of the phone


The screen resolution of the phone is 1920x1080, the screen resolution in the application is 640x360. How to fix it? Or should it be? The application is launched through Expo.


Solution

  • There are lots of devices that have unique resolution. Usually i pick some number of the most popular devices and check my app there. You should write flexible code that will look great on most part of devices. Use flexbox and adaptive design my friend!