frankmorgner / vsmartcard

umbrella project for emulation of smart card readers or smart cards
http://frankmorgner.github.io/vsmartcard/
702 stars 201 forks source link

Freezes on Google Pixel XL with Android Pie #134

Closed kuro68k closed 5 years ago

kuro68k commented 5 years ago

Expected behaviour

Hello World applet is executed

Actual behaviour

Application freezes. No logs or indication of what the problem is.

Steps to reproduce

  1. Open app.
  2. Touch to NFC reader that executes SELECT AID

Logs

No logs are produced.

The reader is a PN532 based one running the Seeed Studio Arduino library. It doesn't matter what applet I try to select with the SELECT AID command, the app always freezes.

frankmorgner commented 5 years ago

I can't reproduce the problem with my Phone (Android Pie) with version 2.0 from F-Droid, which works as expected.

Which version are you using? Is NFC enabled?

kuro68k commented 5 years ago

V2.0 from F-Droid, NFC is enabled and works fine with other apps.

This test app works fine with my code: https://github.com/grundid/host-card-emulation-sample

Obviously I have to set the AID to the correct one.

frankmorgner commented 5 years ago

OK, thanks for reporting back.