Giter VIP home page Giter VIP logo

Comments (3)

whitedogg13 avatar whitedogg13 commented on July 19, 2024 1

Hi, thanks for reporting! It's indeed a bug, and I will fix it and feedback later.

from react-native-nfc-manager.

whitedogg13 avatar whitedogg13 commented on July 19, 2024 1

Hi, I previously thought this might be related to the different native API signatures (iOS has extra options) for registerTagEvent, however they're actually identical (both taking three arguments, even through Android uses only one of them). So currently I am not sure why it happens and I also cannot reproduce it.

From the log you attached, it looks like JavaScript only pass 1 arg into native side, but I cannot find any code path might cause this (the only place to call native registerNfcTag is from JS registerNfcTag in line 83 in NfcManager.js, but it passes 3 args). Can you help to check your node_modules/react-native-nfc-manager/NfcManager.js to see how the registerTagEvent is called? Maybe this file has be corrupted somehow?

Thanks

from react-native-nfc-manager.

milon87 avatar milon87 commented on July 19, 2024

the library is 100% ok 👍 . it was my mistake, I have built a release apk with version 0.0.6 after that I have upgraded to 0.1.0.

the problem is related to Android studio. I have deleted app/src/assets folder then npm install and react-native link. now it is working fine.

from react-native-nfc-manager.

Related Issues (20)

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.