Skip to content

Strange issue when card is unknown after valid one #77

@sergiocasero

Description

@sergiocasero

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions