React-native Mobile Application for Level Play
** These steps have not been reproduced in a clean environment, but were re-created after the fact. Please take them with a grain of salt **
Please see the source expo docs if you seem to be stuck, and for additional types of support. https://expo.io/learn
- Node.js v8.1 or above
- npm v5.6 or above
- yarn 1.6.0 or above
- Create an
expo
account at https://expo.io/ - Install the expo cli using
yarn add global expo-cli
ornpm install expo-cli --global
.
expo
may throw this error, at least on macOS, and will not run properly:
See https://git.io/v5vcn for more information, either install watchman or run the following snippet:
sudo sysctl -w kern.maxfiles=5242880
sudo sysctl -w kern.maxfilesperproc=524288
On macOS, install watchman
via Homebrew with brew install watchman
.
- git clone https://@bitbucket.org/lpsportsdev/mobile.git
cd mobile
- run
yarn
ornpm install
to install all dependencies - run
yarn start
ornpm start
to start theexpo
server - Install the Expo client app on your iOS or Android phone and connect to the same wireless network as your computer.
- On Android, use the Expo app to scan the QR code from your terminal to open your project. On iOS, follow on-screen instructions to get a link.