react-native-nfc-manager
react-native-nfc-manager copied to clipboard
Error from requestTechnology()
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)
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
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.
This issue was closed because it has been stalled for 5 days with no activity.