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

Thank you for your open-source contributions. #7

Open
deokgyuhan opened this issue Jul 31, 2023 · 2 comments
Open

Thank you for your open-source contributions. #7

deokgyuhan opened this issue Jul 31, 2023 · 2 comments

Comments

@deokgyuhan
Copy link

Hello, I am a Flutter developer. I am working on an app that needs to perform NFC host card emulation on Android and read NFC data on iOS. While searching for resources, I came across your NFCReaderiOS and NFCAndroid libraries. After testing them for a few days, I found that they work perfectly on the latest versions of iOS and Android. I would like to use them as a reference for my project and wanted to express my gratitude by leaving a message on your issues page. There are no issues to report, but I wanted to say thank you. Wishing you happiness always, and once again, thank you very much.

@underwindfall
Copy link
Owner

underwindfall commented Aug 11, 2023

@deokgyuhan Hello,
Thank you so much for reaching out and sharing your positive experience with our NFCReaderiOS and NFCAndroid libraries. I'm thrilled to hear that they are working perfectly for your app's requirements on both iOS and Android platforms.

I was feeling self-doubt and depressed for quite a while. Your words really cheered me up and gave me some motivation to continue my journey.

thank you very much for your kind words and appreciation.

@deokgyuhan
Copy link
Author

deokgyuhan commented Aug 18, 2023

Hello! I'm the Flutter developer who expressed gratitude in our previous conversation. I've been testing on various devices, and encountered some issues with Android 13. I referred to the documentation, made modifications to a part of your source code related to "READ_CAPABILITY_CONTAINER_RESPONSE," and conducted tests. I'm happy to report that it's working well on Android 13 as well. Due to the diversity of Android devices, I tested on versions 11-13 and on four different device models. I found some recent information related to this issue, and based on that(https://github.com/MichaelsPlayground/NfcHceNdefEmulator), I modified a portion of your source code as follows. It's working really well. Please take this into consideration. Thank you so much once again. Since connecting with Flutter, everything seems to be working perfectly.

<modified code - KHostApduService>
private val READ_CAPABILITY_CONTAINER_RESPONSE = byteArrayOf(
0x00.toByte(), 0x0F.toByte(), // CCLEN length of the CC file
0x20.toByte(), // Mapping Version 2.0
0x00.toByte(), 0x3B.toByte(), // MLe maximum
0x00.toByte(), 0x34.toByte(), // MLc maximum
0x04.toByte(), // T field of the NDEF File Control TLV
0x06.toByte(), // L field of the NDEF File Control TLV
0xE1.toByte(), 0x04.toByte(), // File Identifier of NDEF file
0x00.toByte(), 0xFF.toByte(), // Maximum NDEF file size of 65534 bytes
0x00.toByte(), // Read access without any security
0xFF.toByte(), // Write access without any security
0x90.toByte(), 0x00.toByte(), // A_OKAY
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants