Woocommerce React Native
  • Quick Start
  • Install Libs
  • Woocommerce
  • App Config
  • Payment
  • Release Android
  • Release iOS
  • Useful Links
  • Custom API
  • Order Pick Up
Powered by GitBook
On this page

Was this helpful?

Install Libs

PreviousQuick StartNextWoocommerce

Last updated 4 years ago

Was this helpful?

If you have Homebrew installed, go to next step, else:

$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Install node

$ brew install node

Install React Native CLI

$ npm install -g react-native-cli

Go to the project folder and install dependencies

$ cd PROJECT_DIR
$ npm install

Install Android SDK

Set ANROID_HOME on MAC

Set ANDROID_HOME on Windows

In case stuck in the installation process in console how do accept the terms of the SDK

Run Android app

Please conect android device or run emulator

$ react-native run-android

Run iOS app

Please install Xcode

It appears to be a problem with the location of Command line tools. In Xcode, select Xcode menu, then Preferences, then Locations tab. Select your Xcode version from the dropdown and exit Xcode.

$ react-native run-ios

http://www.androiddocs.com/sdk/installing/index.html
https://stackoverflow.com/questions/19986214/setting-android-home-enviromental-variable-on-mac-os-x
https://www.360logica.com/blog/how-to-set-path-environmental-variable-for-sdk-in-windows/
https://stackoverflow.com/questions/39760172/you-have-not-accepted-the-license-agreements-of-the-following-sdk-components
https://medium.com/@LondonAppBrewery/how-to-download-and-setup-xcode-10-for-ios-development-b63bed1865c