-
Notifications
You must be signed in to change notification settings - Fork 53
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
Request to check issue NFC can not read write with android version 12 #5
Comments
Hello, PR is welcome if you find a solution to solve the issue you described. |
@ALL, i have run it Android, and iOS reader. Writing text in Android app then reading from iOS/android works fine.
Someone please help me in someway. |
@underwindfall Hey I'm also unable to read NFC data on Android 12 will it be possible to look into this issue it would be great help. From my understanding the problem is with the "READ_CAPABILITY_CONTAINER_RESPONSE" as when I used NXPInfo app to see the emulated tag information its passing info but its not emulating storage and so there is no Ndef Record which is creating issue for the reading part in Android 12. I have attached screenshot for the NXPInfo response. If you could kindly resolve this issue it would be great help. Looking for your positive response. Thank you |
It seems that reducing the Max Ndef size to 32K (7FFF) has some success on HCE working on Android 12 as per https://stackoverflow.com/questions/75932985/why-does-data-transfer-over-nfc-with-hce-only-work-with-android-lower-12 As even though the Type 4 spec says the max Ndef size in the CC is 64K, the spec notes that you can only read/write to It seems there was a change to Android to reduce the allowed to the more logical 32K |
I have problem with NFC android version 12 with my code cannot read and write tag.
URL : As the code we use this source code: https://github.com/underwindfall/NFCAndroid
Detail Information about problem:
As the above URL code we use host-based card emulation (HCE) for write information via NFC device version 12. At previous time when I test this device with version 11 host-based card emulation (HCE) can write information as well and other devices can read. but when it's these devices upgrade to version 12, now cannot write and read anymore.
Could you please help use for how can we implement with that or you can make suggestion or guide use more about how to implement development for Payment via NFC tap to pay (phone to phone by mobile app).
Could you guide us how can we make payment via NFC tap to pay (phone to phone)? The case version 12 above now we don't have solution yet.
Thanks your for your support. We are waiting from your confirmation back.
Best regard.
The text was updated successfully, but these errors were encountered: