Search results for

“nfc”

1,224 results found

Post

Replies

Boosts

Views

Activity

Non standard Wallet app non suppressed by pass suppression entitlement
We have an app that uses the pass-presentation-suppression entitlement and calls requestAutomaticPassPresentationSuppression to prevent the Wallet app from being presented when the device is displaying a barcode to a barcode/nfc reader. This works as expected for users of the standard Apple Wallet app. However, it does not prevent third-party wallet apps from being launched, which hides the barcode and prevents it from being scanned properly. What options do I have to prevent third-party wallet apps from launching or interfering while our app is actively presenting a barcode?
0
0
110
May ’25
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
321
May ’25
Reply to How to Copy Mifare Card to NFC
What do you mean by copy card to NFC? Are you trying to make a copy of a card to another card? If so, the sample Creating NFC Tags from Your iPhone if both the original and the writable card are accepting MiFare commands. If what you mean by copy to NFC is whether you can emulate a MiFare card using your app, that is complicated. Currently there are several special programs that will allow apps to emulate cards. 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) Tap to Pay on iPhone which will need you to work with a Payment Service Provider in your region All these programs have strict geographic and eligibility requirements, which you can find out at the above links. If you are not eligible at this time, no other use cases are supported. Argun Tekant /  DTS Engineer / Core Technologies
Topic: Community SubTopic: Apple Developers Tags:
May ’25
Reply to Why app clips card action not open the main app while main app is installed?
Hi Could anyone give a confirmation on my comment? In my case , i would read a nfc tag and launch an clip card on my local device, do you mean there is no way now to test the experience from clip card OPEN button to full app? For that , I must upload and publish my app to App Store within App Clip? Is there any possibility to test this whole experience through testflight ? Great thanks!
Topic: UI Frameworks SubTopic: SwiftUI Tags:
May ’25
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
193
Apr ’25
iOS 18.4で NFC や FeliCa の読み取りがしずらい状況のようです。こちらは認知されていますでしょうか?どのバージョンで直る想定でしょうか?
■概要: 弊社で開発しているアプリ内には、モバイルSuicaを読み取る機能があるのですが、iOS18.4でSuicaの読み取りができない事象に遭遇しています。(ごくまれに読み取れるときがある) ■利用API CoreNFC ■聞きたいこと: こちらいつごろ修正されるか教えてください。 ■参考情報 他社様ですが類似だと思われる事象が発生しております。
0
0
175
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
481
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
344
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'
3
0
2.0k
Apr ’25
Non standard Wallet app non suppressed by pass suppression entitlement
We have an app that uses the pass-presentation-suppression entitlement and calls requestAutomaticPassPresentationSuppression to prevent the Wallet app from being presented when the device is displaying a barcode to a barcode/nfc reader. This works as expected for users of the standard Apple Wallet app. However, it does not prevent third-party wallet apps from being launched, which hides the barcode and prevents it from being scanned properly. What options do I have to prevent third-party wallet apps from launching or interfering while our app is actively presenting a barcode?
Replies
0
Boosts
0
Views
110
Activity
May ’25
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
Replies
1
Boosts
0
Views
321
Activity
May ’25
Reply to How to Copy Mifare Card to NFC
What do you mean by copy card to NFC? Are you trying to make a copy of a card to another card? If so, the sample Creating NFC Tags from Your iPhone if both the original and the writable card are accepting MiFare commands. If what you mean by copy to NFC is whether you can emulate a MiFare card using your app, that is complicated. Currently there are several special programs that will allow apps to emulate cards. 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) Tap to Pay on iPhone which will need you to work with a Payment Service Provider in your region All these programs have strict geographic and eligibility requirements, which you can find out at the above links. If you are not eligible at this time, no other use cases are supported. Argun Tekant /  DTS Engineer / Core Technologies
Topic: Community SubTopic: Apple Developers Tags:
Replies
Boosts
Views
Activity
May ’25
How to Copy Mifare Card to NFC
How to Copy Mifare Card to NFC
Replies
1
Boosts
0
Views
295
Activity
May ’25
NFC application
Does mobile NFC support copying Mifare cards
Replies
0
Boosts
0
Views
157
Activity
May ’25
Reply to Why app clips card action not open the main app while main app is installed?
Hi Could anyone give a confirmation on my comment? In my case , i would read a nfc tag and launch an clip card on my local device, do you mean there is no way now to test the experience from clip card OPEN button to full app? For that , I must upload and publish my app to App Store within App Clip? Is there any possibility to test this whole experience through testflight ? Great thanks!
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
May ’25
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:
Replies
Boosts
Views
Activity
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.
Replies
1
Boosts
0
Views
193
Activity
Apr ’25
How does NFC tag for default app clip link in TestFlight
My NFC tag for default app clip link (https://appclip.apple.com/id?p= xxxxxx) can work when I distribute to App Store. But NFC tag fail when I want to test in TestFlight. I already set the title and the url (the default app clip link such as https://appclip.apple.com/id?p= xxxxxx )in the TestFlight. Why did this happen?
Replies
1
Boosts
0
Views
274
Activity
Apr ’25
iOS 18.4で NFC や FeliCa の読み取りがしずらい状況のようです。こちらは認知されていますでしょうか?どのバージョンで直る想定でしょうか?
■概要: 弊社で開発しているアプリ内には、モバイルSuicaを読み取る機能があるのですが、iOS18.4でSuicaの読み取りができない事象に遭遇しています。(ごくまれに読み取れるときがある) ■利用API CoreNFC ■聞きたいこと: こちらいつごろ修正されるか教えてください。 ■参考情報 他社様ですが類似だと思われる事象が発生しております。
Replies
0
Boosts
0
Views
175
Activity
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:
Replies
Boosts
Views
Activity
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‌.
Replies
0
Boosts
0
Views
481
Activity
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
Replies
1
Boosts
0
Views
344
Activity
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:
Replies
Boosts
Views
Activity
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'
Replies
3
Boosts
0
Views
2.0k
Activity
Apr ’25