Awesome card.io - camera window is not showing in the screen

#1

We are developing a mobile application using React Native currently we are facing an issue with Credit Card scanning issue. When we click on scan card, the flash light is opening but the camera window is not showing in the screen. We are using React Native Awesome card.io component in the application for card scanning. But its not working do you have any solution in Expo.io?

#2

Can’t help debug unless we can see your code. If you create an example on https://snack.expo.io/ we can take a look.

#3

This modul: https://github.com/Kerumen/react-native-awesome-card-io will not work with expo. You can’t link 3rd party libraries with expo.

#4

@jesse do you know of any working example of scanning credit card with expo?

#5

there isn’t a great way to do it right now. you can add a request for card.io native module support here: https://expo.canny.io/feature-requests

otherwise you’d probably have to capture the image and send it to a server for processing over the network, which is probably doable but probably noticeably worse than something that processes images efficiently right on the device.

#6

Thanks @ccheever. Scanning credit card has to happen on the client. I will add request on canny.

#7

did you get a work around for this? Would be nice to get CC scanning usning card.io. Can anyone shed some light on a work around?

#8

some news regarding ?

#9

any updates on this?

#10

You’ll need to eject to expokit to link the library (https://docs.expo.io/versions/latest/eject)

#11

no other way to scan credit card without ejecting ?