Search results for

nfc

1,143 results found

Post

Replies

Boosts

Views

Activity

Reply to CardSession.Error doubts
You may not be able to force reproduce these errors easily, so you may need to mock the error conditions to test your code paths. radiodisabled - the NFC radio can be disabled on a managed device via an MDM profile. That is when you will get this error transmissionerror - this would be caused by problems during transmission between the two NFC devices. Could be noise, could be interruption. This is a non-terminal error, meaning you can try the send operation again, as long as the connection is still active emulationStopped - you would get this error if you try to send a command after calling stopEmulation() accessnotaccepted - means the user declined the permission systemeligibilityfailed - is when the app is running on a device that is not eligible to use CardSession. Either not correctly configured, or outside the eligibility regions. Argun Tekant /  DTS Engineer / Core Technologies .
Topic: App & System Services SubTopic: Core OS Tags:
Apr ’25
CardSession.Error doubts
Hi, I am dealing with CardSession.Error (https://developer.apple.com/documentation/corenfc/cardsession/error) and I have some doubts to force some of them. radiodisabled --> I do not know how reproduce this error. I thought it happen on flight mode but it is does not. Until I know you cannot disable de NFC on iPhone. How can I reproduce? transmissionerror --> I guess it happens when somethings is wrong during the apdu respond. But I have never got, how can it force? emulationStopped --> I try to force by code with stopemulation(status:) but I have not got this error. How I can get it? Which is the difference between accessnotaccepted and systemeligibilityfailed? I think both of them are happening when the user decline the permissions, right? I hope you can help me to solve these doubts. Thank you in advance. Best regards.
1
0
67
Apr ’25
iOS 18.4で NFC や FeliCa の読み取りがしずらい状況のようです。こちらは認知されていますでしょうか?どのバージョンで直る想定でしょうか?
■概要: 弊社で開発しているアプリ内には、モバイルSuicaを読み取る機能があるのですが、iOS18.4でSuicaの読み取りができない事象に遭遇しています。(ごくまれに読み取れるときがある) ■利用API CoreNFC ■聞きたいこと: こちらいつごろ修正されるか教えてください。 ■参考情報 他社様ですが類似だと思われる事象が発生しております。
0
0
121
Apr ’25
Reply to Can an iPhone be used as an NFC terminal to read Apple Wallet passes from another iPhone?
@kocaatli in old versions of iOS it was possible to negotiate a session with an Apple Wallet pass if it was manually selected: https://youtu.be/FKwzPYBX4aY @swakitaki it is possible to read transit cards without authentication. It depends on the issuer's implementation but here's an example: https://github.com/kormax/apple-device-as-access-card The NFC @ SE Platform entitlement is for creating a credential that would be served by an application different from Apple Wallet, as I understand it. If you want to offer an iOS app for train conductors to scan people's transit cards and managing the issuance of these cards, your best bet is to use an external reader like so: https://youtube.com/shorts/csC_rloFr90
Topic: App & System Services SubTopic: Wallet Tags:
Apr ’25
NFCTagReaderSession - Missing required entitlement
Hi there, I am using Core NFC and I established the connection with the card, but after sending the command 'tag.sendCommand()' I receive this message: -[NFCTagReaderSession _connectTag:error:]:748 Error Domain=NFCError Code=2 Missing required entitlement UserInfo={NSLocalizedDescription=Missing required entitlement}. The version of XCode I am using is 16.3, and the iPhone version is iOS 18.4 Here is my entitlements file: com.apple.developer.nfc.readersession.formats NDEF TAG And my info.plist: NFCReaderUsageDescription NFC com.apple.developer.nfc.readersession.iso7816.select-identifiers A000112233445566 Signing & Capabilities‌ has added Near Field Communication Tag Reading‌.
0
0
289
Apr ’25
App Clip Not Launching – Correct Bundle ID and AASA, Still Not Working
Hi everyone, I’m trying to launch an App Clip for my app, and I’ve been stuck trying to debug why the App Clip won’t launch in production, despite everything seemingly being set up correctly. My setup: Main app bundle ID: com.release.cosa App Clip bundle ID in Xcode: com.release.cosa.appclip In App Store Connect, the App Clip is listed as: com.release.cosa.appclip My AASA file (served with correct headers from my domain): { appclips: { apps: [com.release.cosa.appclip] } } App Clip target and entitlements are properly set in Xcode What works: App Clip launches via local testing in Xcode (Simulator and physical device) App Clip works when triggered manually from Safari (while debugging) What doesn’t work: NFC tag or Universal Link from the real world does not trigger the App Clip On device, nothing happens – not even a fallback to Safari No errors shown to user
1
0
145
Apr ’25
Reply to HCE AID application coupling
The current iOS implementation of HCE interoperability (EEA only), with regard to ISO 7816-4 protocol communication, presents significant challenges. When using the CardSession functionality to interact with NFC readers, an application can be configured to listen for a SELECT command using an Application Identifier (AID) as specified by ISO 7816-5. However, the SELECT command is not always honored by the system. Currently, users are required to either switch between default contactless apps to allow the SELECT command to reach the intended application or manually open the app and initiate a presentmentIntent. While the presentmentIntent itself is not a workaround, its use for directing NFC commands in this manner is. This approach prevents the default contactless app from interfering and ensures that the user’s app is selected. However, this is not consistent with the ISO 7816 standard, which specifies that an application must be directly selectable by its AID, if its AID is known. This is a
Topic: App & System Services SubTopic: Core OS Tags:
Apr ’25
how to handle setup for NFC without NDEF & PACE and still support iOS 15.0
We have NFC capabilties enabled for our app ID - com.uob.mightyvn but our minimum deployment target is 15.0. We do not have an option deselect PACE from provisioning profile. Hence, the validation is failed for IPA. Invalid entitlement for core nfc framework. The sdk version '18.2' and min OS version '15.0' are not compatible for the entitlement 'com.apple.developer.nfc.readersession.formats' because 'NDEF is disallowed'
2
0
348
Apr ’25
Reply to Can an iPhone be used as an NFC terminal to read Apple Wallet passes from another iPhone?
Follow up question to this. I am trying to do something similar -- create an iOS app that train conductors will use, and they would need to scan people's transit cards in the app to check how much credit they have left on their transit card. Most people have set their transit cards on express mode (no need for biometric authentication). My question is, using the NFC & SE Platform entitlement, can developers read transit cards without it requiring user authentication? Or does the user need to unlock their phone before scanning, even if it is set to express mode?
Topic: App & System Services SubTopic: Wallet Tags:
Apr ’25
Reply to Can an iPhone be used as an NFC terminal to read Apple Wallet passes from another iPhone?
It is technically possible. But like you surmised it is restricted due to Secure Element isolation. Basic CoreNFC APIs do not support identity or payment related AIDs. But there is a new NFC & SE Platform for secure contactless transactions Information here: NFC & SE Platform for secure contactless transactions Before investing time and resources, first you should examine the Requirements and availability section to make sure these are available for use in your or your client's region, and your use case and company specifics are suitable. If it is, then you can follow the instructions at that document to apply for access to the API. Any information not clarified/present at this link will be provided once you request access and sign a confidentiality agreement. Details are in the Requesting access to the NFC & SE Platform section. Technically, you will be using the CredentialSession APIs We cannot answer whether this API would be suitable for your specific use case. You w
Topic: App & System Services SubTopic: Wallet Tags:
Apr ’25
Can an iPhone be used as an NFC terminal to read Apple Wallet passes from another iPhone?
Hi all, I'm working on a use case where a customer checks in at a point of service (e.g., a cafeteria or restaurant) using their Apple Wallet pass (e.g., a digital employee badge). In this scenario, we would like to use an iPhone (with a custom iOS app) as the NFC terminal to read the pass directly from the customer's iPhone over NFC. I’m aware that Tap to Pay on iPhone allows NFC-based payment acceptance, but it’s unclear if similar functionality is available or permitted for reading access-type passes from another iPhone via NFC. Key questions: Is it technically possible for an iPhone to act as an NFC reader for a Wallet pass on another iPhone? If not, is this restricted due to Secure Element isolation or protocol limitations? Is there any Apple-supported path for building such a solution — or is certified external hardware (e.g., HID, Wavelynx) the only option? I’ve reviewed the Core NFC and PassKit documentation but couldn't find a definitive answer. T
3
0
309
Apr ’25
Reply to Why my app clips is Unavailable
In the Diagnostics section of the Settings app, the NFC domain shows a warning: “The URL does not match the associated domains for this App Clip.” However, I have verified that my AASA configuration is correct, and the cached AASA file on https://app-site-association.cdn-apple.com/ is also correct.
Topic: UI Frameworks SubTopic: General Tags:
Mar ’25