okadan / nfc-manager

A Flutter app for accessing the NFC features on Android and iOS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Code=203 "System resource unavailable"

CleanCodix opened this issue · comments

Hi

I'm using an iPhone XR with iOS 14.3 & and a BlackView BV9600 with Android 9.0.

Everything work well on the Android but it not work at all on the iPhone.
// NfcManager.instance.isAvailable() is true

I just get these two logs on iPhone when I tap "Start scan":

[CoreNFC] 00000002 8285b180 -[NFCHardwareManager queueReaderSession:sessionConfig:completionHandler:]:96 error=Error Domain=NFCError Code=203 "System resource unavailable" UserInfo={NSLocalizedDescription=System resource unavailable} [CoreNFC] 00000002 81a7c360 -[NFCTagReaderSession beginSessionWithConfig:]:365 error:Error Domain=NFCError Code=203 "System resource unavailable" UserInfo={NSLocalizedDescription=System resource unavailable}, errorCode: 0xcb

Are you aware of this problem ?

It seems that it is due to iOS 14.
People with same problem shared some ideas maybe it can help you for a future "hotfix" update:

https://stackoverflow.com/questions/48172963/how-to-avoid-nfcerror-code-203-session-is-invalidated-due-to-system-resource-is

https://developer.apple.com/forums/thread/655604

I am having this same issue. I have tried catching this error everywhere, but not able to.