revtel / react-native-nfc-manager

React Native NFC module for Android & iOS
MIT License
1.33k stars 317 forks source link

NSInvalidArgumentException on iOS [Bug] #636

Closed R0hindh closed 11 months ago

R0hindh commented 1 year ago

Code:

import NfcManager from 'react-native-nfc-manager';

export const checkNfcSupported = async () => {
    const deviceIsSupported = await NfcManager.isSupported()
    if (deviceIsSupported) {
        console.log("Device Supports NFC")
    }else{
        console.log("Device doesn't Supports NFC")
    }
}

App Crashes with this error: NSInvalidArgumentException -[__NSXPCInterfaceProxy_NFCHardwareManagerInterface areFeaturesSupported:completion:]: unrecognized selector sent to instance 0x281c3d130

github-actions[bot] commented 12 months ago

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] commented 11 months ago

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