The code is built using React-Native and running code locally requires a Mac or Linux OS.
-
Install Node.js version 8 (latest stable) and npm@6
- If you are using nvm (recommended) running
nvm use
will automatically choose the right node version for you. - If you install Node.js manually, ensure you're using npm@6
- Install npm@6 using
npm install -g npm@6
- Install npm@6 using
- If you are using nvm (recommended) running
-
Before starting, you need to install React Native dependencies:
-
Now clone this repo and then install all our dependencies
cd mobile-wallet
npm i
- Running the app on Android:
npm run start:android
- Running the app on iOS:
npm run start:ios
- Unit test:
npm run test:unit
- E2E Tests (iOS)
npm run test:e2e:ios
- E2E Tests (Android)
npm run test:e2e:android