Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(#6669): barcode scanner - Enketo widget and search contact with barcode #9548

Draft
wants to merge 11 commits into
base: 4.9.0-FR-barcode-search-and-enketo-widget
Choose a base branch
from
Prev Previous commit
Next Next commit
styles
latin-panda committed Oct 16, 2024
commit 921f615bebcd1b192d725b8b43ed000af90aebc2
2 changes: 1 addition & 1 deletion webapp/src/ts/services/barcode-scanner.service.ts
Original file line number Diff line number Diff line change
@@ -32,7 +32,7 @@ export class BarcodeScannerService {
if (
!('BarcodeDetector' in this.windowRef)
|| !barcodeTypes?.length
//|| this.browserDetectorService.isDesktopUserAgent() // CHT won't support it in desktop's browser.
|| this.browserDetectorService.isDesktopUserAgent() // CHT won't support it in desktop's browser.
) {
const message = 'Barcode Detector API is not supported in this browser.';
console.error(message);