Questions tagged [react-native-nfc-manager]

23 questions
2
votes
0 answers

Don't able to get the string value of NFC card in react native

Form the last 3 days I trying to get the string values from my NFC card but I can't. when I scan the card then the "getTag()" function get shows some values in the log but in that value, I can't find the string which is stored in the tag. Here is my…
1
vote
1 answer

Trying to mock nfcManager using react native testing library nfcManager.start() functionality

I am developing an android app that requires to read nfc tags, so I am using the react-native-nfc-manager. However, I have come across two issues that I could not figure out at all. What does the nfcManager.start() function actually do? I realized…
1
vote
2 answers

Make sure NFC is turned off in React Native

In my React Native app, one of the screens shows the QR code. That QR code should be placed to the QR code reader, which has also NFC capabilities. My task is to make sure that the NFC is turned off. Yep, my app does not have any NFC features or…
Alex Aymkin
  • 508
  • 1
  • 9
  • 15
1
vote
1 answer

React-Native: Passing the value of a TextInput to a function

i'm trying to pass the value of TextInput into let bytes = buildUrlPayload('https://www.google.co.uk'); so that the url can be dynamically written in app. Can anyone help me achieve this? Thanks function buildUrlPayload(valueToWrite) { …
1
vote
1 answer

ISO14443 - React Native NFC sometimes "Tag connection lost" - only on iOS

Context & Problem: I’m writing a React Native application which has to communicate with NFC MiFare Ultralight tags. I have NXP NTAG I2C PLUS ISO14443-3 tags. I’m using the react-native-nfc-manager library for this. On android I didn’t notice any…
1
vote
0 answers

React-Native NFC Reader returns: The NFC tag's type is not supported

I am trying to create an android app that will be used to make a payment with an Ingenico terminal. I added the react-native-nfc-manager (https://github.com/whitedogg13/react-native-nfc-manager) to my project an followed the…
Patrick Simard
  • 2,294
  • 3
  • 24
  • 38
0
votes
0 answers

How can I read the new content writed in an emulated NFC tag in React Native? ( using react-native-nfc-sdk )

I am actually using two React Native apps to pass a variable between devices using NFC. I'm using react-native-nfc-manager to write data over a NFC tag, and react-native-nfc-sdk to emulate the tag on the other device. Now, i'm able to read and write…
0
votes
0 answers

How to read multiple NFC cards on iOS with react-native-nfc-manager

I'm building a react native app using react-native-nfc-manager. I need to allow the user to read multiple NFC cards, processing the value returned between each read. I have no problem doing this on Android, where I call to .requestTechnology(),…
David Canora
  • 119
  • 1
  • 14
0
votes
0 answers

Get NfcTag UID on IOS with react-native-nfc-manager

I'm trying to implement a new functionality to my NFC Scanner App. It takes the UID of the Tag, the current Apex Session Number and the Date and Hash it and send it out to our Apex Server. The problem I'm facing is that while under Android I can…
0
votes
1 answer

I am making a react native app in which I want to make payments through POS via NFC. But I am facing error in getting data through NFC

I am making a react native app in which I want to make payments through POS via NFC. But I am facing error in getting data through NFC. I have used react-native-nfc-manager, it is making sure that my device has NFC support but not giving me the data…
0
votes
0 answers

Background NFC opens duplicate react native app on Android

I am using react-native-nfc-manager. When I scan nfc in the background, my app is opened and nfc is handled but I can see in the multitasking that two apps have opened, when with the nfc native handler icon and the other with my app handler. Because…
0
votes
1 answer

Notable to get NFC tag information only get ID and Tech Type in react native nfc manager

I am trying to read information form Nfc tag that is written here is my code. NFC reads tag id and its type not able to read other information that we write I am using react native nfc manager try { await…
0
votes
0 answers

NFC Manager sometimes deletes ndef from tag's available technologies

Hi I'm writing an app for ndef read/write with react-native-nfc-manager. It successfully works most of the time but sometimes it deletes ndef from "available technologies". I can't write to nfc until clone from another ndef tag with ST25 app. I…
0
votes
0 answers

Getting error ‘You can only issue one request at a time’ when using react-native-nfc-manager

I have a project that reads and writes NFC tags in android and ios platforms.Both read and write are used inside one function.But I'm having a problem when I click the "Cancel" button on NFC prompt. The first time the prompt shows up okay. After I…
Xho Xho
  • 1
  • 2
0
votes
0 answers

How can I re-establish a NFC-connection programmatically WITHOUT removing the device? (react-native-nfc-manager)

I use react-native-nfc-manager (3.10.1) in an react-native application (0.62.2) and a Mifare Ultralight NFC technology on an Android device. How can I re-establish a NFC-connection programmatically WITHOUT removing the device? The sequence is like…
vindom
  • 459
  • 4
  • 9
1
2