Skip to content

Latest commit

 

History

History

expo-example-app

This project was bootstrapped with Create React Native App.

Available Scripts

Download Expo app on your phone, clone this repo, cd to examples/expo-example-app and install dependencies with npm install.

npm start

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.

npm run ios

Like npm start, but also attempts to open your app in the iOS Simulator if you're on a Mac and have it installed.

npm run android

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).

Screenshots

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.

iPhone 6

iPhone X

iPad Pro 12.9"