Search results for

nfc

1,175 results found

Post

Replies

Boosts

Views

Activity

NFC HCE CardSession.isSupported crash
I am getting report of a crash occurring, while doing a NFC HCE CardSession. The swift code is mostly the same as the example from the CardSession docs: @objc func deviceSupportsNFC (_ call: CAPPluginCall) { call.keepAlive = true let supportsNFCCallbackId = call.callbackId! Task() { guard NFCReaderSession.readingAvailable, CardSession.isSupported, // <-- line 86 await CardSession.isEligible else { print(TAG + HCE not allowed/available) var support = JSObject() support[supported] = false; let callback = bridge?.savedCall(withID: supportsNFCCallbackId) call.resolve(); callback?.resolve(support); return; } print(TAG + HCE allowed) var support = JSObject() support[supported] = true; let callback = bridge?.savedCall(withID: supportsNFCCallbackId) call.resolve(); callback?.resolve(support); } } Calling it from my plugin, to verify if (HCE) NFC is supported: if(await deviceInfoService.isIos()) { if(iosSupportEnabled === false) { console.log(NfcHceService:iOS but disabled); return; } this.requi
1
0
180
May ’25
IPhone and NFC
Hi, We have a device (screen) that you can access/wake up by swiping any RFID-card close to it. Would it be possible have the iPhone act as the RFID-card instead in this scenario? I'm testing on my IPhone 7 but the only way I can make it work is by using Apple Pay and adding a card to my wallet. I found this https://developer.apple.com/documentation/corenfc/adding_support_for_background_tag_reading which is supported on iPhone XS and newer phone. Would that solve my issue or do I need to create an app which acts like a RFID-card? Thank you, and I hope you can help me shed some light on this :) /Henrik
0
0
822
Aug ’21
HCE Permission and Background Access for Corporate NFC Integration
Hello, We are currently developing an application that uses the Host-based Card Emulation (HCE) entitlement to enable corporate access functionality. With this entitlement, we have successfully established HCE communication and can interact with our access control systems to unlock doors. Our question is related to improving the user experience: We would like this access functionality to work without requiring the app to be in the foreground, as this adds friction for users during entry. Specifically, we would like to know: Is it possible for our app to coexist with Apple Wallet as the default contactless app, so that: Our app handles NFC interactions for corporate access (e.g., opening doors). Apple Wallet remains the default for payments. If that coexistence is not possible, and our app is set as the default contactless app, Will the system still need to launch our app into the foreground to complete a transaction (e.g., to emulate the NFC card)? Or is there a way to trigger HCE responses
0
0
81
Sep ’25
Root issue is missing entitlement in NFC App
The root issues is a missing entitlement error. I've jumped through countless hoops of checking/rechecking .entitlement file/plist file, creating new credentials, creating new projects, creating new provisioning profiles with no luck, manual signing, automatic signing. Any suggestions appreciated. Looking at the Provisioning Profile Info shows NFC Tag capabilities is included and NFC Entitlements are included. I'm at a loss... I am including the following: Pertinent output from console Current Info.Plist Current .entitlement file Here are the pertinent sectsis the Console Log for reference: ... NFCConnectionManager[0x074d6e40].tagReaderSessionDidBecomeActive(:): NFCTagReaderSessionDelegate: Session did become active NFCConnectionManager[0x074d6e40].tagReaderSession(:didDetect:): NFCTagReaderSessionDelegate: Session didDetectTags – 1 tags NFCConnectionManager[0x074d6e40].connected(session:tag:): Manager.connected(session:tag:) - tag: 7 bytes NFCConnection.Type.connection(): NFCConnection.conn
3
0
235
Jul ’25
Unable to connect to NFC Tag.
I am trying to read dutch driving license using NFC. Following is my code snippet guard NFCNDEFReaderSession.readingAvailable else { let alertController = UIAlertController( title: Scanning Not Supported, message: This device doesn't support tag scanning., preferredStyle: .alert ) alertController.addAction(UIAlertAction(title: OK, style: .default, handler: nil)) self.present(alertController, animated: true, completion: nil) return } guard NFCTagReaderSession.readingAvailable else { let alertController = UIAlertController( title: Scanning Not Supported, message: This device doesn't support tag scanning., preferredStyle: .alert ) alertController.addAction(UIAlertAction(title: OK, style: .default, handler: nil)) self.present(alertController, animated: true, completion: nil) return } if #available(iOS 16.0, *) { session = NFCTagReaderSession(pollingOption: [.iso14443, .iso15693, .iso18092, .pace], delegate: self, queue: nil) } else { // Fallback on earlier versions session = NFCTagReaderSession(pollingOp
0
0
1.2k
Jan ’23
iOS 15 Beta 6 - NFC Read/Write borked?
Hi there— Has anyone else been having issues with CoreNFC basic Read/Write functionality? My test device (iPhone 12 Pro) has not been able to detect or interact with any NFC tags since switching from the most recent iOS 14 build. I was hoping B6 would fix this but no luck… Feedback ID- FB9404881
0
0
537
Aug ’21
Reply to NFC loyalty card in HCE
Hello Hdemondt、Jordanch, Did you get an answer to your problem ? I'm currently facing with the same issue for my company。 here is a sample, do you know how to do it ? NFC - Mobile Phone as Ticket https://www.skidata.com/en-us/products-services/products-for-arenas-leisure/tickets-ticketing/e-ticketing/nfc/ SKIDATA and Allianz Arena launch Germany’s first contactless NFC stadium access with iPhone and Apple Watch https://www.skidata.com/en/skidata-and-allianz-arena-launch-genrmanys-first-contactless-nfc-stadium-access-with-iphone-and-apple-watch/
Nov ’21