Basic runnable example of react-native-autopilot.
It contains two scenes ("Scene A" and "Scene B") and allows you to navigate between them.
First, install all required dependencies:
npm install
If not already installed, you also need to get the react-native CLI:
npm install -g react-native-cli
Now you can start the react-native packager (server):
react-native start
The packager needs to be reachable from the Android phone (or emulator), so add a reverse port fowarding:
adb reverse tcp:8081 tcp:8081
Now you can install and run the Android app on a connected Android device or emulator:
react-native run-android
To get the filtered app log use:
adb logcat *:S ReactNative:V ReactNativeJS:V