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

Need ability to set deviceId #43

Closed
kybarg opened this issue Nov 8, 2017 · 4 comments
Closed

Need ability to set deviceId #43

kybarg opened this issue Nov 8, 2017 · 4 comments

Comments

@kybarg
Copy link

kybarg commented Nov 8, 2017

No description provided.

@JodusNodus
Copy link
Owner

Versions before 2.0.0 used the deviceId to choose the camera and it also allowed to supply a custom deviceId chooser. But this broke compatibility with iOS and caused a couple of other problems. So that isn't possible anymore.

@kybarg
Copy link
Author

kybarg commented Nov 8, 2017

@JodusNodus there are ways to detect device and apply custom rules. Such functionality would be useful in browser

@JodusNodus
Copy link
Owner

Yes but the problem with detecting the device was that it didn't supply everything needed before first permission request which is made on launching the camera.

@JodusNodus
Copy link
Owner

JodusNodus commented Nov 8, 2017

The goal of this project is not to be the most extensible and customisable QR-code reader. It is to provide a simple component that you can place in any React app. If you require more control i would suggest looking at https://github.com/schmich/instascan .

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

2 participants