diff --git a/src/html5-qrcode-scanner.ts b/src/html5-qrcode-scanner.ts
index 72fb231..4bd0605 100644
--- a/src/html5-qrcode-scanner.ts
+++ b/src/html5-qrcode-scanner.ts
@@ -387,6 +387,10 @@ export class Html5QrcodeScanner {
= Html5QrcodeConstants.DEFAULT_REMEMBER_LAST_CAMERA_USED;
}
+ if (!config.supportedScanTypes) {
+ config.supportedScanTypes = Html5QrcodeConstants.DEFAULT_SUPPORTED_SCAN_TYPE;
+ }
+
return config;
}