Closed marcusrong closed 1 year ago
Thank you for your request!
Which device do you use?
Edit: iOS Simulator is not supported.
Tested on my personal iPhone (14 pro max) It works on android but not iOS
The value that is returned comes directly from NFCTagReaderSession.readingAvailable
(see docs).
Unfortunately there is nothing I can do/fix there. So it should be a configuration problem.
Maybe this helps you: https://stackoverflow.com/a/54109822/6731412
It looks like there hasn't been a reply in 30 days, so I'm closing this issue.
Plugin version:
"@capawesome-team/capacitor-nfc": "^5.0.2",
Platform(s):
ios
Current behavior:
Capacitor says nfc is not supported.
Expected behavior:
Nfc is supported = true
Steps to reproduce:
install plugin try to initianlyse and fail
this is a quasar app.
Related code:
Other information:
⚡️ To Native -> Nfc isSupported 94429216 2023-06-27 01:35:39.871884+0200 App[1778:318741] [CoreNFC] -[NFCHardwareManager areFeaturesSupported:outError:]:166 XPC Error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.nfcd.service.corenfc was invalidated from this process." UserInfo={NSDebugDescription=The connection to service named com.apple.nfcd.service.corenfc was invalidated from this process.} 2023-06-27 01:35:39.974324+0200 App[1778:318741] [CoreNFC] -[NFCHardwareManager areFeaturesSupported:outError:]:166 XPC Error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.nfcd.service.corenfc was invalidated from this process." UserInfo={NSDebugDescription=The connection to service named com.apple.nfcd.service.corenfc was invalidated from this process.} 2023-06-27 01:35:40.179973+0200 App[1778:318741] [CoreNFC] -[NFCHardwareManager areFeaturesSupported:outError:]:166 XPC Error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.nfcd.service.corenfc was invalidated from this process." UserInfo={NSDebugDescription=The connection to service named com.apple.nfcd.service.corenfc was invalidated from this process.} 2023-06-27 01:35:40.485304+0200 App[1778:318741] [CoreNFC] -[NFCHardwareManager areFeaturesSupported:outError:]:166 XPC Error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.nfcd.service.corenfc was invalidated from this process." UserInfo={NSDebugDescription=The connection to service named com.apple.nfcd.service.corenfc was invalidated from this process.} 2023-06-27 01:35:40.886460+0200 App[1778:318741] [CoreNFC] -[NFCHardwareManager areFeaturesSupported:outError:]:166 XPC Error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.nfcd.service.corenfc was invalidated from this process." UserInfo={NSDebugDescription=The connection to service named com.apple.nfcd.service.corenfc was invalidated from this process.} ⚡️ TO JS {"isSupported":false}
Capacitor doctor: