Camera usage after calling `barcodescanner.stop();`
See original GitHub issueHi there,
Thank you for providing this awesome library!
In my app, it seems that the camera always stays on after starting a barcode scanner. Even after I call barcodeScanner.stop()
. Is this the expected behavior? Will it drain the battery?
If it’s not the expected behavior I might have another piece of my code that activates the camera.
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Flutter ML-Kit BarcodeScanner returns old result. How do I ...
Launch app. · Point camera AWAY from any potential barcodes. · Press Scan Barcode button => app navigates to BarcodeScanPage and starts image ......
Read more >Scanning data with the camera
To stop scanning, use the DataScannerViewController stopScanning() method in one of the delegate methods. For example, after you capture information about ...
Read more >BarcodeScanner for Video
The following code snippet shows the basic usage of the BarcodeScanner class. ... hide(), Stops decoding, releases camera and unbinds UI.
Read more >BarcodePicker | Scandit Barcode Scanner SDK for the Web
If the camera stream was stopped when calling pauseScanning, the camera stream is also resumed and user permissions are requested if needed to...
Read more >Getting Started with Camera Barcode Scanner
Use these step-by-step instructions and code snippets to get started using a camera barcode scanner.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks for this fix, awesome!
@EddyVerbruggen Just a point in this issue that might be relevant for someone or maybe a fix.
When the IOS BarcodeScanner vue component is turned off via v-if/else, you will not be able to stop it from scaning even changing the pause variable… it’s just a thought, i didn’t tested far to be sure… I changed it to a v-show and the pause attribute worked.