Comments (3)
Hi, thanks for reporting! It's indeed a bug, and I will fix it and feedback later.
from react-native-nfc-manager.
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.
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)
- Unable to write HOT 2
- Get tag UID before Write action HOT 2
- NFC not working on IOS after clicking to quickly HOT 2
- Update dependency version for @expo/config-plugins HOT 4
- NFC device to device HOT 2
- Problem with iso15693_readMultipleBlocks command HOT 2
- How can I format an NFCTag of typeV from NDEF.formatable to NDEF in iOS? HOT 2
- Expo v50 HOT 1
- crash in android using NfcManager.isEnabled() HOT 2
- Enabling Multiple Uses of NFC requestTechnology Instead of One-time HOT 2
- how to read data returned from transceive ? HOT 1
- How to scan multiple NFC chips at once? HOT 2
- Credit/Debit Card reading? HOT 2
- SecurityViolation error with isoDepHandler.transceive HOT 2
- Ndef not writing the empty tag in android only HOT 3
- ISO15693 customCommands & password protection not working HOT 2
- While scanning multiple NFC tags in iOS, how can a react native app know when the scan completes? HOT 1
- How to read multiple Mifare cards (not NDEF) on iOS? HOT 1
- getTag not returning the scanned tag, techRequestCallback is null HOT 1
- Can't retrieve tag information with background tag on IOS HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-nfc-manager.