Both project directories should be at the same level in a directory. Do not rename the folders.
Do not rename the project directories.
- clone lia-sdk-core-js
- navigate into
lia-sdk-core-jsdirectory - run the following the in the terminal
npm installnpm run buildnpm link
- Install Android Studio
- ensure sure build tools version is
27.0.3is available. - clone lia-react-native-example
- navigate into
lia-react-native-exampledirectory - run the following the in the terminal
brew install node(this is required to be done only once)brew install watchman(this is required to be done only once)sudo npm install -g react-native-cli(this is required to be done only once)npm link lia-sdk-corenpm install
- start an android emulator.
- run the following the in the terminal (in different terminal tabs)
react-native start --config ../../../../rn-cli.config.js --reset-cachereact-native run-androidorreact-native run-ios
Contact Dev-Triumph@lithium.com for more info.