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

Strange issue when card is unknown after valid one #77

Open
sergiocasero opened this issue Aug 20, 2021 · 0 comments
Open

Strange issue when card is unknown after valid one #77

sergiocasero opened this issue Aug 20, 2021 · 0 comments

Comments

@sergiocasero
Copy link

Hello folks!

I'm facing a really strange issue, let me try to explain:

I have two cards:

  1. Spanish DNIe
  2. VISA card

And these are the scenarios:

  1. Read DNIe: In this case, everything is ok, the card isn't detected so I can manage it -> OK
  2. Read VISA: In this case, everything is ok, the card is recognized and I can extract all the data from it
  3. Read VISA and THEN read DNIe: In that strange case, the lib is returning the VISA one, doesn't matter the times I put the DNIe card, is recognized as VISA. I've detected that what's happening is that the lib is returning the latest "recognized" one, because if I repeat the flow but with mastercard, DNIe is recognized as MASTERCARD.

If I kill the app, everything is restored so the DNIe returns to the "1" case, which is ok.

Any tips?? I've tried by calling close for all the classes I detected but with no luck, the issue is raising in a Samsung Galaxy S8 device.

Thanks in advance!

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