React Native POC of the PetitBus application
-
Download the app on your machine
git clone git@github.com:happy-dev/petitbus_mobile.git
-
Install dependencies
Run the following command from the project root :
npm install
-
Launch NodeJS server locally
In a Terminal tab, from the project root, run :
react-native start
If you do not have thereact-native
command installed, please follow this Getting Started from the official website. -
Android
To launch the app, either in a simulator or on a connected device, run the following command from the project root :
react-native run-android
To access the developer's menu, enter the following command line once the app is launched :
`adb shell input keyevent 82`
In `Dev Settings > Debug server host & port for device`, dev setting is probably `localhost:8081`.
`Hot Reloading` should be enabled.