Closed Rohindh-R closed 1 year ago
Code:
import NfcManager from 'react-native-nfc-manager'; import { logger } from '../../../components/Logger/logger'; export const checkNfcSupported = async (from='search') => { const deviceIsSupported = await NfcManager.isSupported() if (deviceIsSupported) { logger.log("Device Supports NFC") }else{ logger.log("Device doesn't Supports NFC") } }
App Crashes with this error: NSInvalidArgumentException -[__NSXPCInterfaceProxy_NFCHardwareManagerInterface areFeaturesSupported:completion:]: unrecognized selector sent to instance 0x281c3d130
-[__NSXPCInterfaceProxy_NFCHardwareManagerInterface areFeaturesSupported:completion:]: unrecognized selector sent to instance 0x281c3d130
Code:
App Crashes with this error: NSInvalidArgumentException
-[__NSXPCInterfaceProxy_NFCHardwareManagerInterface areFeaturesSupported:completion:]: unrecognized selector sent to instance 0x281c3d130