react-native-nfc-manager icon indicating copy to clipboard operation
react-native-nfc-manager copied to clipboard

Error from requestTechnology()

Open FladioArmandika opened this issue 2 years ago • 2 comments

 try {
      await NfcManager.requestTechnology(NfcTech.Ndef);
      const tag = await NfcManager.getTag();
      console.warn('Tag found', tag);
    } catch (ex) {
      console.warn('Oops!', ex);
    } finally {
      NfcManager.cancelTechnologyRequest();
    }

I tried await NFCManager.requestTechnology(NfcTech.Ndef); function but it just catches an error like this Exception: decodeObjectForKey: class "NFFieldNotificationECP1_0" not loaded or does not exist

and didInvalidateWithError

Platform : iOS (Both)

FladioArmandika avatar Apr 29 '22 14:04 FladioArmandika

If possible can you provide full code about you trying to implement reading NFC? I'll need your environment info (package.json or react-native info) to see if I can help you with that

ShiriNmi1520 avatar May 06 '22 01:05 ShiriNmi1520

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar Aug 04 '22 02:08 github-actions[bot]

This issue was closed because it has been stalled for 5 days with no activity.

github-actions[bot] avatar Aug 19 '22 02:08 github-actions[bot]