Skip to content

blackdeve/PrimeDrive

Repository files navigation

BWARE-frontend

Frontend mobile application for bware.

Tech

  • Javascript - high-level programming language.
  • ReactJS - framework for js.
  • ReactNative - framework for building native apps using JS and React.

Development

Take git repository:

$ mkdir bwareFrontend
$ cd bwareFrontend
$ git clone ssh://git@git.milosolutions.com:8922/bware/bware-frontend.git .

Install React Native prerequisites:

$ npm install -g react-native-cli

Install dependencies:

$ npm install

Install custom 3rd-party libraries:

  1. Download libraries from here https://seafile.milosolutions.com/d/7d358b2e92/.
  2. Copy them into project's directory and install:
$ npm install ./react-native-star-io-1.0.0.tgz
$ npm install ./react-native-verifone-0.0.1.tgz
$ npm install ./react-native-usb-printer-0.0.4.tgz
$ npm install ./react-native-acr-reader-1.0.0.tgz

Check node_modules/intl/.babelrc file, delete it if exists:

$ rm -f node_modules/intl/.babelrc

Start react packager without cache:

$ npm start -- --reset-cashe

Run on android:

$ react-native run-android

Run on ios:

$ react-native run-ios

Clean project in case of 'Could not delete path' exception:

$ cd android && ./gradlew clean

Repositories for custom 3-rd party libraries:

License

Propertiary

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages