Ionic barcode scanner