You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.
Black preview is shown. "Back" or "Cancel"-Buttons non functioning.
Steps to Reproduce
create blank cordova app
add barcode plugin
add button to invoke scan
start preinstalled camera app or any other that occupies the camera
run sample app
click scan button
result: black scan-view, buttons don't work
Platform and Version (eg. Android 5.0 or iOS 9.2.1)
Windows 10
Version 1703
Build 15063.540
(Android) What device vendor (e.g. Samsung, HTC, Sony...)
Fujitsu notebook with integrated webcam
Cordova CLI version and cordova platform version
Cordova: 6.5.0
Windows Platform: 5.0.0
Plugin version
Latest Github version
Sample Code that illustrates the problem
I've added an error callback to mediaCapture.getPreviewFrameAsync promise (as seen in the gif) but it's only beeing triggered when I exit the app.
Logs taken while reproducing problem
When I exit the app, the following error message is passed to my added error callback:
"Hardware MFT failed to start streaming due to lack of hardware resources."
The text was updated successfully, but these errors were encountered:
Expected Behaviour
Error callback from scan() triggered
Actual Behaviour
Black preview is shown. "Back" or "Cancel"-Buttons non functioning.
Steps to Reproduce
create blank cordova app
add barcode plugin
add button to invoke scan
start preinstalled camera app or any other that occupies the camera
run sample app
click scan button
result: black scan-view, buttons don't work
Platform and Version (eg. Android 5.0 or iOS 9.2.1)
Windows 10
Version 1703
Build 15063.540
(Android) What device vendor (e.g. Samsung, HTC, Sony...)
Fujitsu notebook with integrated webcam
Cordova CLI version and cordova platform version
Cordova: 6.5.0
Windows Platform: 5.0.0
Plugin version
Latest Github version
Sample Code that illustrates the problem
I've added an error callback to mediaCapture.getPreviewFrameAsync promise (as seen in the gif) but it's only beeing triggered when I exit the app.
Logs taken while reproducing problem
When I exit the app, the following error message is passed to my added error callback:
"Hardware MFT failed to start streaming due to lack of hardware resources."
The text was updated successfully, but these errors were encountered: