Minimal implementation of a "Paint" app using React Native and Expo
https://snack.expo.io/@rmotr/cGFpbn
$ npm install -d
$ npm install -g exp
In order to start Expo server, you would need to be registered.
$ expo login
$ expo signup
Expo Development CLI provides, out of the box, a way to start a local server for your app and give your a URL to it. Just execute the expo start
command from Expo Development CLI and the application will start. To see all options available execute expo start --help
.
The server will continue running until you stop it with expo stop
. Use expo logs
to view logs.
Also you can specify type of protocol to use with --exp
, --http
(default) or --redirect
options. You can choose type of host to use with too with --lan
, --localhost
or --tunnel
(default) options. That last one allow you to view your app on other network.
$ expo start --dev [options]
Expo Development CLI also provides a way to opens your app in Expo app in a currently running iOS simulator on your computer, or on a connected Android device.
$ expo start --ios [options]
$ expo start --android [options]
Note: If you will use an Android emulator, you will probably need to configure the ANDROID_HOME
and PATH
env variables to make it works correctly.