I have requirement to use HTML Accesskey attribute for barcode scanning where we are using external device Honeywell Bluetooth https://www.honeywellaidc.com/products/barcode-scanners/pocket/voyager-1602g
to scan barcode instead of a phone camera
To scan the barcode without manually focusing on a textbox, we use accessKey prefix and suffix to scan the barcode from beginning to end.
We tested this great in ionic-lab on Chrome browser however when the apk file is deployed on an Android phone, the access key does not work. Does web view browser for mobile has a limitation on access key.
Sample code…
<ion-input style=“width:0px; height:0px; margin:0; padding:0;” accessKey="[" [(ngModel)]=“searchQuery” >
<ion-input style=“width:0px; height:0px; margin:0; padding:0;” accessKey="]" (focus)=“validateLocationItem()” >
Truly appreciate for help in this regard.