Ionic/Cordova Honeywell Scanner Simplified Plugin for the built-in barcodes scanner.
ionic cordova plugin add cordova-honeywell-scanner-simplified
cordova plugin add cordova-honeywell-scanner-simplified
Tested successfully with
Honeywell ScanPal EDA50 - Android 4.4 and 7 (confirmed by dorumrr)
Honeywell CT60 - Android 8.1.0 (confirmed by andreicocari)
Honeywell CT50 Android 6.0.1 (confirmed by pklaes)
Honeywell EDA51 Android 8.1.0 (confirmed by jalte)
Please notify if you have tested with other Honeywell devices!
.listen to capture scans using the device's physical buttons. Call
.scan within your application to enable a "software" triggerd scan. You can disable the capturing by calling
.release and enable it back by calling
.claim followed by
.listen method. You can also simulate a softare button to enable the reader behaving in the same way as the hardware scan button(s).
TIP: In Ionic, in order to access the
window property, you may need to add
window: any = window just above your constructor.
Re-enable listener after being disabled (.release)
Scan button simulation to enable readings from within your application
Ionic JS/TS methods:
...and the HTML:
For a quick implementation, you can check out the Ionic Test Application here