Skip to content

adityasharat/lia-react-native-example

Repository files navigation

Lithium Community LIA React Native Example

Getting started

Both project directories should be at the same level in a directory. Do not rename the folders.

Do not rename the project directories.

Build and publish the core SDK

  1. clone lia-sdk-core-js
  2. navigate into lia-sdk-core-js directory
  3. run the following the in the terminal
    1. npm install
    2. npm run build
    3. npm link

Setup and build the example application

  1. Install Android Studio
  2. ensure sure build tools version is 27.0.3 is available.
  3. clone lia-react-native-example
  4. navigate into lia-react-native-example directory
  5. run the following the in the terminal
    1. brew install node (this is required to be done only once)
    2. brew install watchman (this is required to be done only once)
    3. sudo npm install -g react-native-cli (this is required to be done only once)
    4. npm link lia-sdk-core
    5. npm install

Running the react application

  1. start an android emulator.
  2. run the following the in the terminal (in different terminal tabs)
    1. react-native start --config ../../../../rn-cli.config.js --reset-cache
    2. react-native run-android or react-native run-ios

Contact [email protected] for more info.

About

Lithium Community React Native Example Application

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published