- Server: https://barcodetopc.com/#download-server
- Android: https://play.google.com/store/apps/details?id=com.barcodetopc
- iOS: https://itunes.apple.com/app/id1180168368
- Server: https://github.com/fttx/barcode-to-pc-server
- App: https://github.com/fttx/barcode-to-pc-app
-
Clone the repository
git clone https://github.com/fttx/barcode-to-pc-app/ cd barcode-to-pc-app
-
Install ionic and cordova
- See: https://ionicframework.com/docs/intro/installation/
- Run
cordova requirements
to see if there is something missing - And also check last-ionic-info.txt
-
Put the Firebase config files in the root folder (GoogleService-Info.plist and google-services.json)
-
Install the npm dependencies and add your platform
npm install ionic cordova platform add android@8.1.0 ionic cordova platform add ios ionic cordova resources # rename icon.ios.png to icon.png to generate the iOS icons
ionic cordova run ios --device
ionic cordova run android
ionic start
- Increase the version number of the package.json
- Increase the versionCode and version number in the config.xml
- Commit the changes, Add a tag & push
- Run the following commands:
# iOS
# Select Any iOS device as Build Target
# Barcode to PC > Build Phases > Remove "[CP] Copy Pods Resources"
# Barcode to PC > Build Settings > Signing > Set Code Signign Identity to "iOS Developer"
ionic cordova build ios --prod --release
open "platforms/ios/Barcode to PC.xcworkspace"
# Product > Archive
# Android
# Increase version code in package.json & config.xml
ionic cordova build android --prod --release
Quick way to test changes in the barcode scanner plugin:
trash plugins/fttx-phonegap-plugin-barcodescanner
cp -r ../phonegap-plugin-barcodescanner plugins/fttx-phonegap-plugin-barcodescanner
trash platforms/android
ionic cordova build android