GithubHelp home page GithubHelp logo

Comments (17)

loopingz avatar loopingz commented on June 2, 2024 9

Thank you but without the Android counterpart i wont be able to switch from react-native-camera

from react-native-camera-kit.

gran33 avatar gran33 commented on June 2, 2024 6

@jozekcore I don't want to promise, but I'll do me best.

from react-native-camera-kit.

gran33 avatar gran33 commented on June 2, 2024 6

Guys, happy to announce that the QR code reading in now part of the camera (iOS only), just add onReadQRCode={(event) => console.log(event.nativeEvent.qrcodeStringValue)}
to CameraKitCamera or CameraKitCameraScreen components, and have some fum with the QR codes 🍻

from react-native-camera-kit.

gran33 avatar gran33 commented on June 2, 2024 2

Hi all, and thanks for the support.

I started to work on this feature today, you can see the process in qrcode branch.

The API will be as follow:
If the prop onReadQRCode provided to CameraKitCameraScreen or to CameraKitCamera the function will be called each time the native will detect QR code, with relevant data (will be written in the docs).

The camera view/screen won't freeze or stop when QR is been detected and if you would like do something after QR code detected it's your responsibility (like open a browser, etc)

What do you think?
Are there any edge cases I've missed?

from react-native-camera-kit.

cesargdm avatar cesargdm commented on June 2, 2024 1

Just for the QRCode Scanning I was searching for a new package other than react-native-camera, hope comes to Android soon

from react-native-camera-kit.

eltanno avatar eltanno commented on June 2, 2024 1

Eager to see android support added

from react-native-camera-kit.

dlucidone avatar dlucidone commented on June 2, 2024 1

@gran33 The QRcode is not invoking? Is it working on ios?

from react-native-camera-kit.

lukaschleba avatar lukaschleba commented on June 2, 2024

At least some images, or gifs of complete work. Thanks

from react-native-camera-kit.

gran33 avatar gran33 commented on June 2, 2024

@lukaschleba 🙂
I'm still try to understand if this feature is needed.

from react-native-camera-kit.

lukaschleba avatar lukaschleba commented on June 2, 2024

I think it's not needed feature.

from react-native-camera-kit.

gran33 avatar gran33 commented on June 2, 2024

Let's give the community to decide 👨‍💻

from react-native-camera-kit.

jqn avatar jqn commented on June 2, 2024

I think it would be a great feature and a big plus if the android version uses zbar instead of zxing

from react-native-camera-kit.

josedevb avatar josedevb commented on June 2, 2024

@gran33
How long do you think it can be ready?

from react-native-camera-kit.

tony1223 avatar tony1223 commented on June 2, 2024

Users need this feature.

from react-native-camera-kit.

tokict avatar tokict commented on June 2, 2024

Now I should use 2 libs to do one thing depending on platform?

from react-native-camera-kit.

steffenmllr avatar steffenmllr commented on June 2, 2024

@gran33 I was trying the onReadQRCode in the latest version and it does not get triggered - does it work in the current version ?

from react-native-camera-kit.

Sterlingryan avatar Sterlingryan commented on June 2, 2024

So QRCode scanning is not supported on Android as of yet ?

from react-native-camera-kit.

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.