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-js
directory - run the following the in the terminal
npm install
npm run build
npm link
- Install Android Studio
- ensure sure build tools version is
27.0.3
is available. - clone lia-react-native-example
- navigate into
lia-react-native-example
directory - 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-core
npm 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-cache
react-native run-android
orreact-native run-ios
Contact [email protected] for more info.