This project was bootstrapped with Create React Native App.
Download Expo app on your phone, clone this repo, cd to examples/expo-example-app and install dependencies with npm install
.
Runs the app in development mode. Open it in the Expo app on your phone to view it. It will reload if you save edits to your files, and you will see build errors and logs in the terminal.
Like npm start
, but also attempts to open your app in the iOS Simulator if you're on a Mac and have it installed.
Like npm start
, but also attempts to open your app on a connected Android device or emulator. Requires an installation of Android build tools (see React Native docs for detailed setup).
The app has 3 scenes, each scene has a switch to enable/disable the usage of react-native-size-matters
.
Below are attached screenshot of the different scenes on different device, with the switch both on and off.
These are just examples, the scaling will work on any device and any OS.
Screen | iPhone 6 | iPhone x | iPad Pro 12.9" |
---|---|---|---|
Feed | |||
Chat |
Screen | iPhone 6 | iPhone x | iPad Pro 12.9" |
---|---|---|---|
Feed | |||
Chat |