Skip to content

Commit 863f196

Browse files
committed
docs(readme): add note about BarcodeDetection API [skip-ci]
1 parent ac12a24 commit 863f196

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,9 @@ This plugin supports real-time barcode detection directly from the live camera f
150150
* **Android:** Utilizes Google's [**ML Kit Barcode Scanning**](https://developers.google.com/ml-kit/vision/barcode-scanning).
151151
* **Web:** Uses the [**Barcode Detection API**](https://developer.mozilla.org/en-US/docs/Web/API/Barcode_Detection_API) where available in the browser.
152152

153+
> [!NOTE]
154+
> **Web Support:** The Barcode Detection API is not supported in all browsers (e.g., Windows browsers). For full browser compatibility, consider using a polyfill such as [`@undecaf/barcode-detector-polyfill`](https://www.npmjs.com/package/@undecaf/barcode-detector-polyfill) or [`barcode-detector`](https://www.npmjs.com/package/barcode-detector).
155+
153156
**Enabling Barcode Detection:**
154157
To enable this feature, set the `enableBarcodeDetection` option to `true` when calling the `start()` method:
155158

0 commit comments

Comments
 (0)