Giter Site home page Giter Site logo

Comments (10)

gruhn avatar gruhn commented on May 19, 2024

This component SHOULD always default to the rear camera.

I assume you tested the component on a device and it used the front camera instead? If so, check if you have the same problem on the demo page and tell me your device name, OS version and browser version.

Or do you really want to be able to manually configure which camera is used? If this is what you mean, please explain your use case.

Thanks!

from vue-qrcode-reader.

kieuminhcanh avatar kieuminhcanh commented on May 19, 2024

I building a Kiosk Web App on Android Tablet has 2 camera. The member need to check-in by Qr-code on front-camera. I tested on some android table, some time it's scan rear camera, some time it's scan front camera. I need to have a solution to turn on rear|front on device.

from vue-qrcode-reader.

gruhn avatar gruhn commented on May 19, 2024

Hmmm... I don't get it. Why do want your users to check-in using the front camera? I would expect that this is a little bit cumbersome?

from vue-qrcode-reader.

kieuminhcanh avatar kieuminhcanh commented on May 19, 2024

This is our demo devices. It has two camera. User will check-in from front-camera.
tour-ct

from vue-qrcode-reader.

gruhn avatar gruhn commented on May 19, 2024

Ok, now I get it. I'll deal with it 😉

from vue-qrcode-reader.

gruhn avatar gruhn commented on May 19, 2024

I opened a PR. Install it via

yarn add git+https://github.com/gruhn/vue-qrcode-reader.git#constraint-prop
# or
npm install --save git+https://github.com/gruhn/vue-qrcode-reader.git#constraint-prop

and check if this suits your needs.

I also updated the README in this PR. Refer to that for usage instructions.

from vue-qrcode-reader.

kieuminhcanh avatar kieuminhcanh commented on May 19, 2024

So fast and very details. Thanks bro.

from vue-qrcode-reader.

gruhn avatar gruhn commented on May 19, 2024

sure 😁 👍

from vue-qrcode-reader.

gruhn avatar gruhn commented on May 19, 2024

now also on NPM

from vue-qrcode-reader.

gruhn avatar gruhn commented on May 19, 2024

🎉 This issue has been resolved in version 1.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

from vue-qrcode-reader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.