NFC tag iOS 14 beta 2

The issue that occurred with iOS 13 beta 4 last year is repeating with iOS 14 beta 2. NFC tags can be read but the shortcut doesn’t run. However sometimes it doesn’t decide to work as it used to.

Replies

Same here and for iOS 14 beta 3 as well.

NFC tags will only been run once after first setup.
Same to me
i used to use shortcuts eith nfc every day

But now with ios 14 it seems to read an nfc tag once and then it seems to stop to reading the same tag
Please file a feedback report with a sysdiagnose if you continue to encounter this issue. Thanks!
I confirm, I've the same problem with the beta 4.
You can only scan an nfc tag once (until you reboot).


Here is the log:
Code Block
[CoreNFC] 00000002 83c24940 -[NFCHardwareManager queueReaderSession:sessionConfig:completionHandler:]:96 error=Error Domain=NFCError Code=203 "System resource unavailable" UserInfo={NSLocalizedDescription=System resource unavailable}

Can confirm this issue as well
I also have the same problem.
None of my NFC reader apps are working on iOS 14 beta 4.
CoreNFC is returning "System resource unavailable".
Could you pay with apple pay?
I'm seeing the same issue on iPhone 11 Pro. Apple Pay is working (as well as usual) on on the device.
I'm experiencing this too since the update to iOS 14 beta 4.

Can scan only once. Any subsequent attempts fail.
I think I found the cause of the problem:

Code Block swift
@Environment(\.scenePhase) private var scenePhase


If you want to detect app scenePhase changes as are available in iOS14, you probably added this line to your main swift file. The moment this line exists NFC stops detecting tags even if the prompt appears and the delegate method gets triggered.

My solution was to remove it and instead use for my purpose

Code Block swift
@UIApplicationDelegateAdaptor(AppDelegate.self) var appDelegate