Search results for

nfc

1,143 results found

Post

Replies

Boosts

Views

Activity

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
400
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
419
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
803
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
514
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
508
Nov ’24
NFC Certificate Request for Apple Wallet Pass Rejected – Need Assistance for EV Charging Station Use Case.
Hello Apple Developer Team/Community, I am working on developing an Apple Wallet pass with NFC functionality for our electric vehicle (EV) charging stations. The goal is to enable a tap-to-start charging feature, providing a seamless and efficient experience for users. However, my request for an NFC certificate to enable this functionality has been rejected. Here is a summary of my use case and actions taken so far: 1. Use Case: The Wallet pass will allow users to initiate charging sessions by tapping their iPhones or Apple Watches on the EV charger. This feature aims to simplify the process by eliminating the need for additional apps, physical cards, or manual inputs. It enhances accessibility and aligns with Apple’s goals of providing users with secure and convenient solutions. 2. Steps Taken: Submitted the NFC certificate request with a detailed explanation of the functionality. Included diagrams and supporting documents demonstrating the workflow and system readiness. Received a
1
0
739
Nov ’24
How Can I Enable NFC Functionality in an Apple Wallet Pass?
Hello, I am working on an Apple Wallet pass with NFC functionality but have been facing issues with getting it to work. The pass gets added to Wallet, but the NFC feature does not seem to activate. Could someone provide a detailed, step-by-step process to properly enable NFC in an Apple Wallet pass? Here is what I have done so far: 1. Set up a Pass Type ID and Certificates: I have registered a Pass Type ID in my Apple Developer account. I have generated and installed the required certificates (Pass Type ID certificate and WWDR certificate). 2. Adding the NFC Field: Added the following nfc field to my pass.json file: { formatVersion: 1, passTypeIdentifier: pass.com.example.mypass, serialNumber: 123456, teamIdentifier: TEAMID12345, webServiceURL: https://example.com/api/passes, authenticationToken: my_secure_token, nfc: { message: Tap to unlock door, encryptionPublicKey: MY_ENCRYPTION_PUBLIC_KEY, payload: encrypted_nfc_payload }, organizationName: My Company
1
0
962
Nov ’24