Build a cross-platform (Android IOS) EPOS application through the React native CLI
Support for Windows is planned for the future
Please follow the React native CLI Quickstart set up your environment.
yarn react-native doctor # use the cmdLine in your terminal
# After running this command, with the shortcut F, the doctor will automatically fix the environment settings
Some languages character path may cause not found cannot find module ‘react-native/cli’.Such as your path include chinese characters
yarn
# or
npm i
// If you are debugging width ios
cd ios
pod install
yarn android
# or
npm run android
# It may take a while. Gradle requires installing some dependencies from the Internet, at the first time.
yarn ios
yarn react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle
# If assets floder does not exist, your need create this folder.
cd android
gradle assembleRelease
# Or
.\gradlew assembleRelease # If you don't have Gradle