revtel / react-native-nfc-manager

React Native NFC module for Android & iOS
MIT License
1.32k stars 312 forks source link

Expo v50 #699

Closed Matzielab closed 5 months ago

Matzielab commented 5 months ago

When i updated to Expo v50 nfc reading suddenly stopped working on iOS

The error message is blank. When debugging via xcode i get this

NfcManager initialized
NFCTag didInvalidateWithError
(
    "NFCError:203"
)

Anyone else having problems with Expo v50?

Matzielab commented 5 months ago

Nvm the most insane error, took me half a day debugging.. the error was so strange and vague NFCError Code=203 “Session is invalidated due to system resource is unavailable”

Turns out restarting my phone solved it. So if you ever bump into an error without error message using this library, your phone might just need a restart