When using the front camera to scan barcodes, the image is mirrored. This causes the problem that the EAN-13 code is no longer scannable.  QR codes are scannable by both back and front camera. EAN-13 codes are also scannable by back camera.