Search results for

“nfc”

1,224 results found

Post

Replies

Boosts

Views

Activity

NFCTagReaderSession host card emulation (HCE) exception
I'm trying to read a tag generated by my app that emulates event input tags; in my NFC reader app and I get this error: <NSXPCConnection: 0x300a108c0> connection to service with pid 62 named com.apple.nfcd.service.corenfc: Exception caught during decoding of received selector didDetectExternalReaderWithNotification:, dropping incoming message. Exception: Exception while decoding argument 0 (#2 of invocation): Exception: decodeObjectForKey: class NFFieldNotificationECP1_0 not loaded or does not exist ( 0 CoreFoundation 0x0000000192b00f2c 76A3B198-3C09-323E-8359-0D4978E156F5 + 540460 1 libobjc.A.dylib 0x000000018a9a32b8 objc_exception_throw + 60 2 Foundation 0x0000000191932584 D27A6EC5-943C-3B0E-8D15-8840FD2914F0 + 38276 3 Foundation 0x0000000191930d10 D27A6EC5-943C-3B0E-8D15-8840FD2914F0 + 32016 4 Foundation 0x000000019198f460 D27A6EC5-943C-3B0E-8D15-8840FD2914F0 + 418912 5 Foundation 0x000000019198c510 D27A6EC5-943C-3B0E-8D15-8840FD2914F0 + 406800 6 Foundation 0x00000001919e4cf4 D27A6EC5-943C-3
2
0
829
Sep ’24
Detect if HCE app is not the default contactless app and jump directly to the default contactless app selection settings.
Hello, I am developing an HCE-based contactless payment application for the European Economic Area. I want to detect when my application is not the default contactless app and forward the user to the iOS settings for selecting the default contactless app. Question #1: How can I detect that my app is not the default contactless app? Question #2: How can I forward the user directly to the default contactless app selection in iOS settings? This line of code forwards the user to my app’s settings, which contains a reference to the default contactless app selection, but I couldn’t forward the user directly to the default contactless app selection view: UIApplication.shared.open(URL(string: app-settings:root=General)!) There must be a way to jump directly to the default contactless app selection view as described in Apple's commitment to the EU (Case AT.40452, Chapter 3.8): Apple will enable HCE Payment Applications to redirect users directly to the App’s page in settings and include a link which will take the user
2
0
496
Sep ’24
Writing ndef messages to a NXP 215 tag with known password
I am using the CoreNFC framework in iOS 14 above to read and write to a NXP 215 NFC tag. I have no problems reading the tag and getting the data out from it, but I have a problem when trying to write to it when password protection is enabled in the tag. as you can see the class NFCTagManager. I use the NFCTagReaderSession to read the tag. Then I use a switch statement on the tag to get the type of it, where I get .miFare. After connect the session to the tag. I am trying authenticateAndWrite according to the manual of NTAG21X . I try to unlock it using the tag.sendMiFareCommand with the a UInt8 array starting with the “0x1B” auth command byte followed by the 4 bytes password. Then I check the response data and compare it to the PACK which is programmed into the tag, which matches. Then I call the mifareTag.queryNDEFStatus function to make sure, that the tag is having the status .readWrite. Finally I call the mifareTag.writeNDEF function with an NDEF Message which is an exact copy of the one already o
0
0
647
Sep ’24
Local appclip experiences not working in production?
Hello, We've created four App Clip experiences for users that do not have our app installed. They're meant to be evoked by an NFC tag. I have created the four App Clip experiences in Appstore connect last week, however they still show as received. My /.well-known/apple-app-site-association has returns this JSON file (with the correct TEAM_ID and BUNDLE_ID): { applinks: { apps: [], details: [{ appID: TEAM_ID.BUNDLE_ID, paths: [*] }] }, appclips: { apps: [ TEAM_ID.BUNDLE_ID ] } } The app was approved in the app store this morning. However, when I try to invoke the experience over NFC, it just wants to open the URL in the web browser and does not load the App Clip. I have created and tested a local experience through developer settings, this perfectly works I have added appclips: to the app and the clip's bundle in the signing options This should be possible right? Because I was wondering how iOS would even know it should load an App Clip for an NFC tag or QR code, does it send a reque
3
0
991
Sep ’24
Reply to Can't install app to iPad when Required Device Capability has NFC?
Resolved this issue with these configuration. In the project Signing & Capabilities, add Capability Near Field Communication Tag Reading In the project Build Phases, the Link Binary With Libraries” section, add the CoreNFC.framework, and then mark it as Optional. In the project Info, add Privacy - NFC Scan Usage Description = Use NFC Do not add Near Field Communication to Required Device Capability item (this cause Incompatible hardware on iPad) Use NFC feature only if UIDevice.current.userInterfaceIdiom == .phone in program. Hope this helps, Thank you.
Topic: App & System Services SubTopic: General Tags:
Aug ’24
Reply to NFC Core UI Issue: UI Becomes Unresponsive After Switching Between Landscape and Portrait Modes
This sounds like it could be an issue with the system's NFC UI, and we would like you to file a bug report about this. Don't forget to include as much information as you can about the cases you see this problem with. In your case a video or images showing the distortion would be very helpful. To file a bug report, you can use the Feedback Assistant. Once you open the bug report, please post the FB number here for my reference. If you have any questions about filing a bug report, take a look at Bug Reporting: How and Why? Argun Tekant /  DTS Engineer / Core Technologies
Topic: App & System Services SubTopic: General Tags:
Aug ’24
NFC Core UI Issue: UI Becomes Unresponsive After Switching Between Landscape and Portrait Modes
I've encountered a consistent issue with iOS NFC Core UI where the app's user interface becomes unresponsive or visually distorted after scanning an NFC tag in landscape mode, dismissing the NFC UI, and then attempting to scan in portrait mode. Steps to Reproduce: Open an NFC-enabled app that uses iOS NFC Core UI. Start an NFC scan while holding the device in landscape mode. Dismiss the NFC scanning UI. Switch the device to portrait mode and initiate another NFC scan. Observe the UI, which often appears distorted or becomes unresponsive.
1
0
540
Aug ’24
CoreNFC - CPLC Data via APDU
Hi, any help is appreciated please, many thanks in advance ! In my python script, I can get the CPLC data of a smartcard with the APDU: 80 CA 9F 7F 00. But on the iOS side with CoreNFC, the same exact APDU and card is giving a response of 0x6D00. Was wondering possible causes of this, or if I'm overlooking an error in my code: import SwiftUI import CoreNFC struct ContentView: View { @State private var responseText: String = Response will appear here. @State private var nfcSession: NFCTagReaderSession? @State private var nfcDelegate: NFCDelegate? var body: some View { VStack { Text(responseText) .padding() .multilineTextAlignment(.center) Button(Start NFC Session) { startNFCSession() } .padding() .background(Color.blue) .foregroundColor(.white) .cornerRadius(10) } .padding() } func startNFCSession() { guard NFCTagReaderSession.readingAvailable else { responseText = NFC not supported return } let delegate = NFCDelegate(responseText: $responseText) nfcDelegate = delegate nfcSession = NFCTagRead
1
0
823
Aug ’24
Reply to Can My App Use/emulate iPhone as an NFC Tag for Tap-to-Interact with the new update??
While it is currently, and with iOS 18.1 would be possible for an app to emulate an NFC tag, these are reserved for very specific use cases and not available to be used for arbitrary tag emulation. You can read about the capabilities and requirements for these use cases in the following documents: NFC & SE Platform for secure contactless transactions HCE-based contactless transactions for apps in the European Economic Area (EEA) At this time, no other use cases are supported. Argun Tekant /  DTS Engineer / Core Technologies
Aug ’24
Can My App Use/emulate iPhone as an NFC Tag for Tap-to-Interact with the new update??
Hello, I’m developing an app and want to explore the possibility of using an iPhone to emulate an NFC tag. Specifically, I’m interested in enabling one iPhone to act as an NFC tag that another iPhone can read, creating a tap-to-interact experience within my app. Is this functionality supported by current iOS APIs, or is it something that might be available in the next update for iOS 18.1 which is supposedly unlocking iPhone NFC chips? If not, are there any workarounds or third-party solutions that can achieve this such as bluetooth low energy (BLE) maybe? Any insights or guidance on how to implement this feature would be greatly appreciated. Thank you!
1
0
2.8k
Aug ’24
Can I sync my Apple Watch series 9 with the Huawei health app?
I bought an Apple Watch series 9, but I'm not very comfortable using the standard Apple health app, so I decided to try huawei health. The question is, is there any way to sync your Apple Watch with this app? I am also interested in how to find out the temperature on the wrist in degrees, and not how much it deviates from the norm? And now a question for Apple personally: why should I LIE that I am 18 years old (I am 16 years old) in order to measure the oxygen level in my blood? Why am I paying 36,000₽ ($403.47) for two non-working chips?! One of them is NFC, and the second is a second-generation ultra wideband chip, which are vital for me personally! Don't be like Samsung, they can't find headphones at all through their locator if the case is closed, and you tell Apple that just use ultra wideband, users from Russia just laugh at you when you mention this chip, I've been looking for my headphones for 3 days. I'm sorry if it's too aggressive at the end, it just doesn't suit me that I'm paying a lot
2
0
1k
Aug ’24
What is the reason for system being not eligible for CardSession APIs from CoreNFC?
I am working on a simple app that communicates using APDUs as Apple opened up NFC and HCE Entitlement for the EU market. I got the entitlement for my developer account, I have the entitlements available in the NDEF and TAG values and also added proper AID value. Also added SKExternalPurchase and SKExternalPurchaseLink keys to the Info.plist. When I check the CardSession.isSupported and NFCReaderSession.readingAvailable they come out to be true. But when checking the CardSession.isEligible it's value is false. When checking the documentation for it, it simply says that A property that indicates whether the current device supports card session functionality. How can check the issue with current system?
2
0
1k
Aug ’24
NFCTagReaderSession host card emulation (HCE) exception
I'm trying to read a tag generated by my app that emulates event input tags; in my NFC reader app and I get this error: <NSXPCConnection: 0x300a108c0> connection to service with pid 62 named com.apple.nfcd.service.corenfc: Exception caught during decoding of received selector didDetectExternalReaderWithNotification:, dropping incoming message. Exception: Exception while decoding argument 0 (#2 of invocation): Exception: decodeObjectForKey: class NFFieldNotificationECP1_0 not loaded or does not exist ( 0 CoreFoundation 0x0000000192b00f2c 76A3B198-3C09-323E-8359-0D4978E156F5 + 540460 1 libobjc.A.dylib 0x000000018a9a32b8 objc_exception_throw + 60 2 Foundation 0x0000000191932584 D27A6EC5-943C-3B0E-8D15-8840FD2914F0 + 38276 3 Foundation 0x0000000191930d10 D27A6EC5-943C-3B0E-8D15-8840FD2914F0 + 32016 4 Foundation 0x000000019198f460 D27A6EC5-943C-3B0E-8D15-8840FD2914F0 + 418912 5 Foundation 0x000000019198c510 D27A6EC5-943C-3B0E-8D15-8840FD2914F0 + 406800 6 Foundation 0x00000001919e4cf4 D27A6EC5-943C-3
Replies
2
Boosts
0
Views
829
Activity
Sep ’24
Detect if HCE app is not the default contactless app and jump directly to the default contactless app selection settings.
Hello, I am developing an HCE-based contactless payment application for the European Economic Area. I want to detect when my application is not the default contactless app and forward the user to the iOS settings for selecting the default contactless app. Question #1: How can I detect that my app is not the default contactless app? Question #2: How can I forward the user directly to the default contactless app selection in iOS settings? This line of code forwards the user to my app’s settings, which contains a reference to the default contactless app selection, but I couldn’t forward the user directly to the default contactless app selection view: UIApplication.shared.open(URL(string: app-settings:root=General)!) There must be a way to jump directly to the default contactless app selection view as described in Apple's commitment to the EU (Case AT.40452, Chapter 3.8): Apple will enable HCE Payment Applications to redirect users directly to the App’s page in settings and include a link which will take the user
Replies
2
Boosts
0
Views
496
Activity
Sep ’24
Writing ndef messages to a NXP 215 tag with known password
I am using the CoreNFC framework in iOS 14 above to read and write to a NXP 215 NFC tag. I have no problems reading the tag and getting the data out from it, but I have a problem when trying to write to it when password protection is enabled in the tag. as you can see the class NFCTagManager. I use the NFCTagReaderSession to read the tag. Then I use a switch statement on the tag to get the type of it, where I get .miFare. After connect the session to the tag. I am trying authenticateAndWrite according to the manual of NTAG21X . I try to unlock it using the tag.sendMiFareCommand with the a UInt8 array starting with the “0x1B” auth command byte followed by the 4 bytes password. Then I check the response data and compare it to the PACK which is programmed into the tag, which matches. Then I call the mifareTag.queryNDEFStatus function to make sure, that the tag is having the status .readWrite. Finally I call the mifareTag.writeNDEF function with an NDEF Message which is an exact copy of the one already o
Replies
0
Boosts
0
Views
647
Activity
Sep ’24
Local appclip experiences not working in production?
Hello, We've created four App Clip experiences for users that do not have our app installed. They're meant to be evoked by an NFC tag. I have created the four App Clip experiences in Appstore connect last week, however they still show as received. My /.well-known/apple-app-site-association has returns this JSON file (with the correct TEAM_ID and BUNDLE_ID): { applinks: { apps: [], details: [{ appID: TEAM_ID.BUNDLE_ID, paths: [*] }] }, appclips: { apps: [ TEAM_ID.BUNDLE_ID ] } } The app was approved in the app store this morning. However, when I try to invoke the experience over NFC, it just wants to open the URL in the web browser and does not load the App Clip. I have created and tested a local experience through developer settings, this perfectly works I have added appclips: to the app and the clip's bundle in the signing options This should be possible right? Because I was wondering how iOS would even know it should load an App Clip for an NFC tag or QR code, does it send a reque
Replies
3
Boosts
0
Views
991
Activity
Sep ’24
Reply to Can't install app to iPad when Required Device Capability has NFC?
Resolved this issue with these configuration. In the project Signing & Capabilities, add Capability Near Field Communication Tag Reading In the project Build Phases, the Link Binary With Libraries” section, add the CoreNFC.framework, and then mark it as Optional. In the project Info, add Privacy - NFC Scan Usage Description = Use NFC Do not add Near Field Communication to Required Device Capability item (this cause Incompatible hardware on iPad) Use NFC feature only if UIDevice.current.userInterfaceIdiom == .phone in program. Hope this helps, Thank you.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’24
Reply to NFC Core UI Issue: UI Becomes Unresponsive After Switching Between Landscape and Portrait Modes
This sounds like it could be an issue with the system's NFC UI, and we would like you to file a bug report about this. Don't forget to include as much information as you can about the cases you see this problem with. In your case a video or images showing the distortion would be very helpful. To file a bug report, you can use the Feedback Assistant. Once you open the bug report, please post the FB number here for my reference. If you have any questions about filing a bug report, take a look at Bug Reporting: How and Why? Argun Tekant /  DTS Engineer / Core Technologies
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’24
NFC Core UI Issue: UI Becomes Unresponsive After Switching Between Landscape and Portrait Modes
I've encountered a consistent issue with iOS NFC Core UI where the app's user interface becomes unresponsive or visually distorted after scanning an NFC tag in landscape mode, dismissing the NFC UI, and then attempting to scan in portrait mode. Steps to Reproduce: Open an NFC-enabled app that uses iOS NFC Core UI. Start an NFC scan while holding the device in landscape mode. Dismiss the NFC scanning UI. Switch the device to portrait mode and initiate another NFC scan. Observe the UI, which often appears distorted or becomes unresponsive.
Replies
1
Boosts
0
Views
540
Activity
Aug ’24
CoreNFC - CPLC Data via APDU
Hi, any help is appreciated please, many thanks in advance ! In my python script, I can get the CPLC data of a smartcard with the APDU: 80 CA 9F 7F 00. But on the iOS side with CoreNFC, the same exact APDU and card is giving a response of 0x6D00. Was wondering possible causes of this, or if I'm overlooking an error in my code: import SwiftUI import CoreNFC struct ContentView: View { @State private var responseText: String = Response will appear here. @State private var nfcSession: NFCTagReaderSession? @State private var nfcDelegate: NFCDelegate? var body: some View { VStack { Text(responseText) .padding() .multilineTextAlignment(.center) Button(Start NFC Session) { startNFCSession() } .padding() .background(Color.blue) .foregroundColor(.white) .cornerRadius(10) } .padding() } func startNFCSession() { guard NFCTagReaderSession.readingAvailable else { responseText = NFC not supported return } let delegate = NFCDelegate(responseText: $responseText) nfcDelegate = delegate nfcSession = NFCTagRead
Replies
1
Boosts
0
Views
823
Activity
Aug ’24
Reply to Can My App Use/emulate iPhone as an NFC Tag for Tap-to-Interact with the new update??
While it is currently, and with iOS 18.1 would be possible for an app to emulate an NFC tag, these are reserved for very specific use cases and not available to be used for arbitrary tag emulation. You can read about the capabilities and requirements for these use cases in the following documents: NFC & SE Platform for secure contactless transactions HCE-based contactless transactions for apps in the European Economic Area (EEA) At this time, no other use cases are supported. Argun Tekant /  DTS Engineer / Core Technologies
Replies
Boosts
Views
Activity
Aug ’24
Can My App Use/emulate iPhone as an NFC Tag for Tap-to-Interact with the new update??
Hello, I’m developing an app and want to explore the possibility of using an iPhone to emulate an NFC tag. Specifically, I’m interested in enabling one iPhone to act as an NFC tag that another iPhone can read, creating a tap-to-interact experience within my app. Is this functionality supported by current iOS APIs, or is it something that might be available in the next update for iOS 18.1 which is supposedly unlocking iPhone NFC chips? If not, are there any workarounds or third-party solutions that can achieve this such as bluetooth low energy (BLE) maybe? Any insights or guidance on how to implement this feature would be greatly appreciated. Thank you!
Replies
1
Boosts
0
Views
2.8k
Activity
Aug ’24
Can I sync my Apple Watch series 9 with the Huawei health app?
I bought an Apple Watch series 9, but I'm not very comfortable using the standard Apple health app, so I decided to try huawei health. The question is, is there any way to sync your Apple Watch with this app? I am also interested in how to find out the temperature on the wrist in degrees, and not how much it deviates from the norm? And now a question for Apple personally: why should I LIE that I am 18 years old (I am 16 years old) in order to measure the oxygen level in my blood? Why am I paying 36,000₽ ($403.47) for two non-working chips?! One of them is NFC, and the second is a second-generation ultra wideband chip, which are vital for me personally! Don't be like Samsung, they can't find headphones at all through their locator if the case is closed, and you tell Apple that just use ultra wideband, users from Russia just laugh at you when you mention this chip, I've been looking for my headphones for 3 days. I'm sorry if it's too aggressive at the end, it just doesn't suit me that I'm paying a lot
Replies
2
Boosts
0
Views
1k
Activity
Aug ’24
Ios 18 beta NFC issue
In Ios 18 beta the NFC not showing and also not working please can fix that
Replies
1
Boosts
0
Views
1.2k
Activity
Aug ’24
Reply to NFC App's readerSession(didDetect) Not Executing
Thank you. Your understanding is correct, and I now understand that I cannot write a URL to another smartphone from my iPhone. After purchasing an NFC tag and writing to it, I successfully managed to write the data. Thank you very much for your clear and understandable explanation. I appreciate it.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’24
Obtain certificates for my NFC reader
Hi! I develop my own NFC reader as a sole proprietor. I would like to get the Apple VAS and Apple Access Pass certificates for my reader. How can I do that? Should I apply for Apple’s MFi program or it’s just for bigger organizations/companies? Are there any way? Thank you! Daniel
Replies
0
Boosts
0
Views
809
Activity
Aug ’24
What is the reason for system being not eligible for CardSession APIs from CoreNFC?
I am working on a simple app that communicates using APDUs as Apple opened up NFC and HCE Entitlement for the EU market. I got the entitlement for my developer account, I have the entitlements available in the NDEF and TAG values and also added proper AID value. Also added SKExternalPurchase and SKExternalPurchaseLink keys to the Info.plist. When I check the CardSession.isSupported and NFCReaderSession.readingAvailable they come out to be true. But when checking the CardSession.isEligible it's value is false. When checking the documentation for it, it simply says that A property that indicates whether the current device supports card session functionality. How can check the issue with current system?
Replies
2
Boosts
0
Views
1k
Activity
Aug ’24