How to build
- Run
./prepare.sh
(Note that for Android it requires the environment variablesANDROID_NDK
andJAVA_HOME
to be set.) - Follow platform-specific instructions below
How to build on Android
- Install Android SDK and Cordova (7.0.1)
cd
to the WalletCordova directory- Run
cordova prepare android
- 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.
- Install Xcode and Cordova
cd
to the WalletCordova directory- 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.