There are occasions where disabling the scanner would be very nice. For example, if I would like to show a dialog over the screen it would be helpful to allow the scanner to continue to show the camera view, but prevent random scans from happening in the background. These changes allow for calling .setScanEnabled(false) to allow for the scanner to be disabled. This allows for the background to continue to look the same without the awkward screen freezes and vibrates that can occur due to barcodes being detected.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This aims to resolve issue #467.
There are occasions where disabling the scanner would be very nice. For example, if I would like to show a dialog over the screen it would be helpful to allow the scanner to continue to show the camera view, but prevent random scans from happening in the background. These changes allow for calling
.setScanEnabled(false)
to allow for the scanner to be disabled. This allows for the background to continue to look the same without the awkward screen freezes and vibrates that can occur due to barcodes being detected.