Jiayu S3 Advanced: NFC - Host card emulation strange behaviour
Issue #181
new
I'm developing an app using Host card emulation and I noticed a couple of things:
- NFC will never actually shut down, regardless of the setting used (NFC reader will pick it up). This is not an issue for me, but maybe it's related to the other issues.
- If the app uses android:requireDeviceUnlock="true", the APDUs are never routed to the app: If the device is unlocked, the app doesn't receive any APDUs. If a lock screen is set and the phone is locked, the user has to unlock it (good), the banner to tap again is shown (good), but after the user taps again, the APDUs aren't sent to the app (bad).
- If the app uses
android:requireDeviceUnlock="false"
, the app receives APDUs while the phone is on the lock screen. But if the phone is unlocked, it doesn't receive any (which it should).
Info: - Device: Jiayu S3 Advanced - Previous ROM: madOS_7.1.2_s3_h560_20170819 - Current ROM: madOS_8.1.0_s3_h560_20180422 - did a full wipe when installing - issue existed from the beginning - phone is not rooted
I'm happy to provide any further information.
P.S.: I also want to say thank you for your amazing work. Small issues like this are nothing compared to all the big things working so well! :)
Forgot to log in, this is my account.