Skip to content
This repository has been archived by the owner on Mar 21, 2019. It is now read-only.

greenaddress/WalletCordova

Repository files navigation

Build status: Build Status

How to build

  1. Run ./prepare.sh (Note that for Android it requires the environment variables ANDROID_NDK and JAVA_HOME to be set.)
  2. Follow platform-specific instructions below

How to build on Android

  1. Install Android SDK and Cordova (7.0.1)
  2. cd to the WalletCordova directory
  3. Run cordova prepare android
  4. Run cordova build android

After following these steps you should get a debug apk file in platforms/android/build/outputs/apk/android-debug.apk.

How to build on iOS (available on macOS only)

There's an issue with xcode node library causing cordova prepare ios to fail silently. See apla/me.apla.cordova.app-preferences#65 for a workaround.

  1. Install Xcode and Cordova
  2. cd to the WalletCordova directory
  3. Run cordova build ios (prepare ios was called already by prepare.sh)

After following these steps you should get an .app in platforms/ios/build/emulator/GreenAddress.It.app.