TypeScript HTML CSS JavaScript
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

Barcode to pc app

Useful links

Downloads

Repositories

Setup

git clone https://github.com/fttx/barcode-to-pc-app/
cd barcode-to-pc-app
npm install
ionic cordova platform add android
ionic cordova platform add ios
ionic cordova resources

Run

ionic cordova run ios --device
ionic cordova run android

Release

# iOS
ionic cordova build ios --prod --release

# Android
# Increase version code in config.xml
ionic cordova build android --prod --release
APK_PATH="platforms/android/build/outputs/apk/release/android-release-unsigned.apk"
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore barcode-to-pc-keystore.jks $APK_PATH keystore
zipalign -v 4 $APK_PATH out.apk