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

Scanning card bricks history #20

Open
axelsimon opened this issue May 16, 2023 · 5 comments
Open

Scanning card bricks history #20

axelsimon opened this issue May 16, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@axelsimon
Copy link

Hello,
If i scan my bank card, it renders the history unusable.

The history looks empty, says "No history find" and under "Scan history" some Chinese characters appear:
Imagepipe_29

Strangely, if i go into settings and delete data, i can see that the records are still there: right now it says "Record count: 7".

So something happens when reading certain cards that bricks NFSee's ability to display history.

@infinity0
Copy link

Same here. The error prevents you from scanning any further cards, until you go into android App Info settings and clear both Storage and Cache. Then you lose all your previous scanned cards, but you can try scanning again.

The bug happens randomly, even with the same card. The bug happens ~0% of the time with my T-Union China Transport card, about ~60% of the time with my UK Visa cards, and about ~100% of the time with my UK MasterCard card.

The Chinese characters mean "downloading..." which might sound a bit dodgy, luckily my firewall blocks all applications until I explicitly allow it. However even if I wanted to, I am unable to allow this app internet access - neither this app nor "NFC Reader" (com.github.muellerma.nfcreader) show up in the list of applications on my VPN app (OpenVPN for Android) or my firewall app (AFWall+) but they do show up in the system "App Info" settings. Weird.

@Harry-Chen Harry-Chen added the bug Something isn't working label Jul 17, 2023
@Harry-Chen
Copy link
Contributor

Thanks for your report! "加载中" actually means "loading", not "downloading". So there must be some problem parsing the data read from your bank card.

Could you inform us on the the of card that you try to read?

@infinity0
Copy link

As above:

The bug happens randomly, even with the same card. The bug happens ~0% of the time with my T-Union China Transport card, about ~60% of the time with my UK Visa cards, and about ~100% of the time with my UK MasterCard card.

I tried it again with my UK MasterCard card and it worked once, and failed several more times.

It seems to work fine (~0% bug) with my UK oyster (transport) card.

I'm holding the card close to my phone exactly the same in all cases.

Regardless of the type of card, if NFSee doesn't recognise it, or if there is an error in reading, regardless of any of this, there should be no possible logic path in the code that bricks the app like this. It is certainly possible to fix this bug without having any of these cards available to you as a developer.

@infinity0
Copy link

"加载中" actually means "loading", not "downloading".

My bad, my brain quickly misread 加 the same way as 下.

@strangersdangers
Copy link

Any updates on this issue? This error is still occuring.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants