Sample android/ios uber-like app developed as an exercise to learn react-native/firebase.
WARNING: Currently the app is an early alpha stage, you should look at other samples for detailed react-native/firebase bits.
- Connect an Android device with developer mode enabled OR install Genymotion and install a Nexus 5 or 7 (Android version 5.1). If using Genymotion, disable its ADB by selecting Settings -> ABD -> Use custom Android SDK tools
- Install openssh and rsync using your operating system's package manager or installation tools
If on Windows:
- Install Cygwin. Within the installer, choose the rsync and openssh packages as per hashicorp/vagrant#3913 (comment). Install "git", under the "Devel" category, to allow cloning this repository. Install xorg-server and xinit to allow launching Chrome for debugging.
- If Vagrant/rsync issue is not yet resolved, you will need to follow the instructions under hashicorp/vagrant#6702 (comment)
- Launch a terminal using the "Cygwin terminal" shortcut on your desktop or Start Menu.
- Run "startxwin" to launch a local X server for Chrome.
If on OS X:
- Install XQuartz to enable viewing the developer console in Chrome within the VM.
- Clone this repository and change to the new folder.
If using an android device
If using an emulator (replace IP address with your emulator's IP):
ADB_EMULATOR_IP_ADDRESS=192.168.56.101 vagrant up
To enable live reloading use the "shake" gesture or press Ctrl-m in Genymotion and select "Enable Live Reload". Changes made to the code should automatically update on the device. To use the Chrome developer tools for debugging, start Chrome and connect to http://localhost:8081/debugger-ui and follow the instructions to install developer tools.
Login to the virtual environment and follow the instructions to get started.