diff --git a/screens/QRScannerScreen.tsx b/screens/QRScannerScreen.tsx index 93a976d..57257ce 100644 --- a/screens/QRScannerScreen.tsx +++ b/screens/QRScannerScreen.tsx @@ -149,11 +149,15 @@ const QRScannerScreen: React.FC<{ clearScanData: () => void }> = ({ clearScanDat {cameraVisible && ( handlePayload(data)} - barcodeScannerSettings={{ barcodeTypes: ['qr', 'pdf417'] }} - style={styles.camera} - enableTorch={enableTorch} - /> + onBarcodeScanned={scanned ? undefined : ({ data, type }) => { + console.log("Barcode Type:", type); // Log the type of barcode scanned + console.log("Raw Scanned Barcode Data:", data); // Log the raw barcode data + handlePayload(data); + }} + style={styles.camera} + enableTorch={enableTorch} + /> + )} diff --git a/temp/Sample QR/EmailTO.png b/temp/Sample QR/EmailTO.png new file mode 100644 index 0000000..eb68b29 Binary files /dev/null and b/temp/Sample QR/EmailTO.png differ diff --git a/temp/Sample QR/Invalid ssl.png b/temp/Sample QR/Invalid ssl.png new file mode 100644 index 0000000..1b400f4 Binary files /dev/null and b/temp/Sample QR/Invalid ssl.png differ diff --git a/temp/Sample QR/Phone.png b/temp/Sample QR/Phone.png new file mode 100644 index 0000000..99f06c8 Binary files /dev/null and b/temp/Sample QR/Phone.png differ diff --git a/temp/Sample QR/SMSTO.png b/temp/Sample QR/SMSTO.png new file mode 100644 index 0000000..d11b93d Binary files /dev/null and b/temp/Sample QR/SMSTO.png differ diff --git a/temp/Sample QR/Text.png b/temp/Sample QR/Text.png new file mode 100644 index 0000000..c7bca3a Binary files /dev/null and b/temp/Sample QR/Text.png differ diff --git a/temp/Sample QR/WIFI no enc.png b/temp/Sample QR/WIFI no enc.png new file mode 100644 index 0000000..4c0c5ef Binary files /dev/null and b/temp/Sample QR/WIFI no enc.png differ diff --git a/temp/Sample QR/WIFI_WEP.png b/temp/Sample QR/WIFI_WEP.png new file mode 100644 index 0000000..cea6c48 Binary files /dev/null and b/temp/Sample QR/WIFI_WEP.png differ diff --git a/temp/Sample QR/WIFI_WPA.png b/temp/Sample QR/WIFI_WPA.png new file mode 100644 index 0000000..3637b8a Binary files /dev/null and b/temp/Sample QR/WIFI_WPA.png differ diff --git a/temp/Sample QR/insecure_http.png b/temp/Sample QR/http.png similarity index 100% rename from temp/Sample QR/insecure_http.png rename to temp/Sample QR/http.png diff --git a/temp/Sample QR/http_no_ssl.png b/temp/Sample QR/http_no_ssl.png new file mode 100644 index 0000000..10381ad Binary files /dev/null and b/temp/Sample QR/http_no_ssl.png differ diff --git a/temp/Sample QR/firefox_DYrBfHBzbP.png b/temp/Sample QR/large text.png similarity index 100% rename from temp/Sample QR/firefox_DYrBfHBzbP.png rename to temp/Sample QR/large text.png diff --git a/temp/Sample QR/mailto.png b/temp/Sample QR/mailto.png deleted file mode 100644 index f57452e..0000000 Binary files a/temp/Sample QR/mailto.png and /dev/null differ diff --git a/temp/Sample QR/large_text.png b/temp/Sample QR/proxy.png similarity index 100% rename from temp/Sample QR/large_text.png rename to temp/Sample QR/proxy.png diff --git a/temp/Sample QR/redirect link.png b/temp/Sample QR/redirect link.png new file mode 100644 index 0000000..4bb30e3 Binary files /dev/null and b/temp/Sample QR/redirect link.png differ diff --git a/temp/Sample QR/whatsapp.png b/temp/Sample QR/whatsapp.png new file mode 100644 index 0000000..a51f782 Binary files /dev/null and b/temp/Sample QR/whatsapp.png differ