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

Browser: useFrontCamera should return FRONT_CAMERA_UNAVAILABLE if a second camera is not available #30

Closed
bitjson opened this issue Sep 27, 2016 · 0 comments

Comments

@bitjson
Copy link
Contributor

bitjson commented Sep 27, 2016

Currently the plugin closes the current video stream and reopens a stream from the same camera.

bitjson added a commit to bitjson/cordova-plugin-qrscanner that referenced this issue Sep 28, 2016
The new build process makes it possible to bundle the entire browser platform implementation as a
library which can be used without cordova-browser. This is particularly valuable for projects which
bundle apps with Electron or NW.js and do not use the Cordova Browser platform, but still need an
API compatible implementation for desktop. The build process also makes it possible for the Web
Worker code to be bundled with the plugin code, the adapter.js and qrcode-reader dependencies to be
fully managed by NPM, and all released code to be minified. This change also adds a simple manual
test for the library and some documentation.

Fixes bitpay#30, removes some unused code in the browser implementation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant