Git Product home page Git Product logo

Comments (2)

underwindfall avatar underwindfall commented on August 16, 2024 1

@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.

from nfcandroid.

deokgyuhan avatar deokgyuhan commented on August 16, 2024

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
)

from nfcandroid.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.