Build target for mobile.
-
Be aware that Metro bundler doesn't resolve symlinks which are created and used by yarn workspaces. Eg.
@trezor/blockchain-link
hoisted in root'snode_modules
is a symlink topackages/blockchain-link
, so metro bundle needs explicit declaration of such a module inextraNodeModules
inside themetro.config.js
. -
ios + remote debugger: "Unable to find module for EventDispatcher React Native" https://stackoverflow.com/a/55081238
To build react-native application start by following these instructions. Select React Native CLI Quickstart
and install all required dependencies. https://facebook.github.io/react-native/docs/getting-started
Notes for future debuging. Follow the install rules really carefully. For example, for Android, it really requires the specified java version 8. In case you have multiple java sdks on your machine, here is how to switch it