This is an application for React-Native which does not rely on Expo.
- Run the server:
yarn start
- Connect your Android device
- For an emulator:
emulator @name
- For a phone, simply connect it in debug mode and ensure it shows up in
adb list
- Run the Android bundler:
yarn android
- Set up the emulator (see https://gist.github.com/resolritter/8b8a8b7ccbd119eb4921d8331294a19f for Arch Linux, although it might be useful for other operating systems as well).
- Run
emulator @[name]
. - Launch the Appium service with
npx appium
- Run the end-to-end tests with
yarn e2e
Related to bug facebook/metro#1
Regardless of whether they are going into the bundle or not, symlinks in
node_modules
(and perhaps everywhere else) will break the release build.
A workaround is to remove the symlinks manually and add them back later
through yarn install
. Better solutions might be available in the issue
thread.
Related to bug facebook/react-native#22234 (comment)
A workaround is to remove the assets manually. Better solutions might be available in the issue thread.
Related to bug https://stackoverflow.com/questions/57313661/stuck-on-info-starting-js-server
A workaround is to start the server first, so that yarn [platform]
doesn't try to start it as a pre-condition.
First run npx react-native start
After the server has started, run yarn android