git clone https://github.com/annsa9/wstatus.git
cd wstatus
npm install -g ionic cordova
To run on android os, as per instructions here, To run live debugging
ionic cordova run android --prod --release
To build APK
ionic cordova build android --prod --release
- Do not run app in browser as browser dosen't support cordova native plugins. Test app in emulator or device.
- While building app, to avoid Language localisation warning and some exceptions, add this code to wstatus/platforms/android/build.gradle file:
android {
aaptOptions.cruncherEnabled = false
aaptOptions.useNewCruncher = false
buildTypes {
release {
lintOptions {
disable 'MissingTranslation'
}
}
}
}