Search results for

nfc

1,175 results found

Post

Replies

Boosts

Views

Activity

Reply to Credit card ICC Public Key Certificate retrieval
It is not a matter of being rejected, but the basic CoreNFC functionality will simply not allow you to read payment related cards. You can only use Tap to Pay on iPhone by working together with a Payment Service provider that supports Tap to Pay on iPhone. Once you set that up, they will be the ones that provide you with the information you need to create this Token. You can find a PSP in your region here: https://developer.apple.com/tap-to-pay/regions/ It is not possible to create this token without a PSP. If your company would be eligible and interested in NFC & SE Platform for secure contactless transactions you can check out the availability and requirements there to see if that would be a suitable alternative to your use case. Argun Tekant /  DTS Engineer / Core Technologies
Jan ’25
Credit card ICC Public Key Certificate retrieval
Hello! I have a requirement to read the ICC Public Key Certificate from an EMV credit card to implement a payment validation flow. Aa far as I understand, I can't use Core NFC for that task since it is not supposed to be used for reading sensitive credit card data and it might be rejected by Apple. I'm trying to use Tap To Pay as it seems to offer some general card details. Since Apple's documentation on this side is pretty limited, I'm struggling to understand what is a PaymentCardReader.Token and how can I create one? Can anyone please help me with setting up Tap to Pay?
2
0
558
Jan ’25
Reply to Open UIViewController when QR Code is scanned
Sorry. My application supports Universal Links already. In case the application is running on the background and I scan a QR Code then application is executed and shows the proper window like here: See scene code here: func scene(_ scene: UIScene, continue userActivity: NSUserActivity) { debugPrint(scenes: continue userActivity: (userActivity)) guard userActivity.activityType == NSUserActivityTypeBrowsingWeb else { debugPrint(Different type then expected) return } // Confirm that the NSUserActivity object contains a valid NDEF message. let ndefMessage = userActivity.ndefMessagePayload if ndefMessage.records.count == 1 && ndefMessage.records[0].typeNameFormat == .empty { debugPrint(scene continue userActivity from Camera: (userActivity.webpageURL!)) guard let navigationController = window?.rootViewController as? UINavigationController else { return } navigationController.popToRootViewController(animated: true) let donatorViewController = navigationController.topViewController as? DonatorViewController
Topic: App & System Services SubTopic: General Tags:
Jan ’25
Reply to Host Card Emulation session reinitialization
The time limits for using NFC (length of session, time between sessions) are hard limits that cannot be changed from within your app. All I can suggest is to file a feedback report, using the Feedback Assistant. and explaining your needs and specific use cases. Don't forget to include as much information as you can about the cases you see this problem with. This will help the NFC team to understand the real life issues developers are encountering and to decide whether it would be viable to change these timing limits. Bug Reporting: How and Why? has tips on creating a successful feedback report. Argun Tekant /  DTS Engineer / Core Technologies
Topic: App & System Services SubTopic: General Tags:
Jan ’25
Issue with Custom Error Message on invalidate in CoreNFC APDU Tag Reader Session
Hi everyone, I'm working on an NFC-related app using CoreNFC with APDU commands to read and write tags. I’ve encountered an issue when trying to handle the scenario where the user cancels the NFC session. Here’s what’s happening: When a user cancels the NFC session manually (e.g., by tapping Cancel), I see an error log indicating tagReaderSession|userCancelled. However, when I explicitly call session.invalidate(errorMessage: No NFC tag found) in my code to handle a scenario where no tag is detected, the session still shows the error as userCancelled instead of my custom error message. This behavior is confusing both in terms of debugging and for providing feedback to users, as I expect my custom message to appear instead of the generic user cancelled message. func tagReaderSessionDidBecomeActive(_ session: NFCTagReaderSession) { // Session becomes active } func tagReaderSession(_ session: NFCTagReaderSession, didDetect tags: [NFCTag]) { // Handle tag detection logic } func
0
0
423
Jan ’25
Reply to Apple Wallet transit cards
Hi @jr9519 I’m in the same boat as you! My city, Barcelona; has also been looking into implementing NFC-based transit cards but hasn’t been able to integrate them into Apple Wallet yet. From what I’ve researched, simply using PassKit APIs won’t cut it for adding NFC transit cards to the Wallet app. You’d likely need to partner with Apple directly for this. Apple has specific requirements and partnerships for transit cards (like SUICA in Japan), which might include fees, technical collaboration, and certification. It’s not just developing the app but also ensuring the card system is compatible with Apple’s secure NFC environment. It might be worth reaching out to Apple through their business channels if the government is willing to implement the system. Otherwise, the hurdles (like fees) might be the reason some cities haven’t moved forward yet. Let me know if you’ve found any updates—this is something I’d love to see happen here too!
Dec ’24
Regarding licensed applet
To apply for NFC & SE Platform entitlement, I need to provide information regarding licensed applets and TSM. However, I currently lack background knowledge in these areas. Could you provide me with an overview or examples of what licensed applets and TSM entail?
0
0
438
Dec ’24
Step-by-Step Guide Needed for NFC Activation in Apple Wallet Pass
Hi everyone, I am working on creating an NFC-enabled Apple Wallet pass but have been unable to get the NFC functionality to work. While the pass itself adds to Wallet without issues, the NFC feature does not activate. Here’s a summary of what I’ve done: 1. Developer Setup: Registered a Pass Type ID in my Apple Developer account. Generated and installed the Pass Type ID certificate. Installed the latest WWDR certificate. 2. Pass JSON Configuration: My pass.json file includes the following NFC configuration: nfc: { message: Tap to unlock door, encryptionPublicKey: MY_ENCRYPTION_PUBLIC_KEY, payload: encrypted_nfc_payload } 3. Testing Results: When the pass includes the nfc field, it adds to Wallet but NFC does not work. If I remove the nfc field, the pass works fine (minus NFC, of course). What I Need Help With: 1. A step-by-step guide for correctly implementing NFC in Wallet passes, including details about encryption, key
1
0
859
Dec ’24
-[_NFCardSession validateReceivedAPDU:]:236 Invalid ISO7816 APDU detected
I've started building an app that uses NFC to communicate towards a device. The initial communication is being triggered as intended, the last step of authentication is sent the connection seems to drop with the message: -[_NFCardSession validateReceivedAPDU:]:236 Invalid ISO7816 APDU detected, (null) The same response has been validated on an Android device and the process works fine there, but .readerDeselected is triggered instead of .received with cardAPDU. Any way to see which part of the validation that fails? Best regards
3
0
537
Dec ’24
Reply to SSO extension and NFC tag
Unfortunately NFC cannot be accessed inside credential extensions. I can't answer with certainty, but the underlying blocker for this is also likely to prevent it to work in a Redirect extension. While we are aware of this already, additional bug reports are always helpful for the teams to understand the impact, and different use cases that require this. To file a bug report, you can use the Feedback Assistant. 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: Core OS Tags:
Dec ’24
Reply to NFC card
It is not possible for an app to emulate an arbitrary NFC tag using the basic CoreNFC APIs. While there are some other APIs that allow you to emulate NFC tags, those only support very specific cases for very specific types of cards, and have a number of requirements. It would not be possible to obtain the entitlements to use those for a generic NFC tag. Argun Tekant /  DTS Engineer / Core Technologies
Topic: App & System Services SubTopic: Core OS Tags:
Dec ’24
NFC card
Hello, I want to set a text as the NFC tag of the current phone, and then read the content of the current tag through NFC sharing or other iPhones. Ask if there is a suitable API, or interface.
1
0
554
Nov ’24