Search results for

“nfc”

1,224 results found

Post

Replies

Boosts

Views

Activity

iOS Automation could not run because an internal error occurred
I am developing a shortcut for an application that is currently in production. The shortcut essentially involves opening the application and launching a notification so that the AppDelegate initiates a process to scan NFC tags. To achieve this, I have an AppIntent that overrides the variable openAppWhenRun = true and an AppShortcutsProvider to implement this intent. The problem arises when a user updates to the latest version of the application and tries to implement this shortcut through an automation. The following error appears: When 'Reader' is detected encountered an error: The action 'Scan DMA tags' could not run because an internal error occurred. This does not always happen, only on some devices. However, if we uninstall and reinstall the application, it works perfectly. But this is not a viable solution since the application uses a database and data loss from frequent uninstallations is not acceptable. Any solution? I have tried to replicate the error but have been unable to do so. This issu
2
0
1.1k
May ’24
When Rotate screen, a scanning sheet does not respond to any touch interactions
I have implemented NFC card reading functionality using NFCTagReaderSession. After starting the NFC reader session in landscape mode at least once, if I switch back to portrait mode and attempt to start the NFC reader session again, the scanning sheet does not respond to any touch interactions. Regardless of whether the screen is rotated, I expect the user to be able to close the reading screen, but it remains open. Is there any workaround for this issue? Code: class ViewController: UIViewController, NFCTagReaderSessionDelegate { func tagReaderSessionDidBecomeActive(_ session: NFCTagReaderSession) { } func tagReaderSession(_ session: NFCTagReaderSession, didInvalidateWithError error: any Error) { } func tagReaderSession(_ session: NFCTagReaderSession, didDetect tags: [NFCTag]) { } override func viewWillTransition(to size: CGSize, with coordinator: any UIViewControllerTransitionCoordinator) { super.viewWillTransition(to: size, with: coordinator) let session = NFCTagReaderSession(poll
0
0
582
May ’24
Reply to HCE in iPhone
It's all very well to open up the HCE for banks, but what about other ways of using the HCE. There are companies in the Americas and Asia leveraging Apple's NFC HCE for access control, integrating access badges/cards into Apple Wallet. Is this functionality available in Europe? If not, what's the reason? Can this be accomplished using Apple's Secure Element? I haven't come across any information addressing this.
Topic: App & System Services SubTopic: Core OS Tags:
May ’24
Send APDU Commands to iso7816 in background
Hello iPhone xs for testing XCode 15.3 I've successfully managed to select the AID and send other commands to a SmartCard using the following code: class NFCReader: NSObject, ObservableObject, NFCTagReaderSessionDelegate { func startNFCSession() { session = NFCTagReaderSession(pollingOption: [.iso14443], delegate: self, queue: nil) session?.alertMessage = Hold your iPhone near the NFC tag. session?.begin() // Start the session } func tagReaderSession(_ session: NFCTagReaderSession, didDetect tags: [NFCTag]) { guard let tag = tags.first else { // Safely unwrap the first tag session.invalidate(errorMessage: No SmartCard detected.) return } session.connect(to: tag, completionHandler: { (error: Error?) in if let error = error { session.invalidate(errorMessage: Unable to connect to SmartCard: (error.localizedDescription)) return } switch tag { case let .iso7816(iso7816Tag): self.sendAPDUCommandSelect(to: iso7816Tag) self.sendAPDUCommand_2(to: iso7816Tag) default: print(Not iso7816 type) // Update the Swif
1
0
891
May ’24
Reply to App Clip Unavailable
Currently experiencing the exact same issues. app clip was working and everything was fine, then a app release with no significant changes to the app clip (maybe a few lines of code changed) and now every scan or QR/App Clip Code/NFC shows App Clip Unavailable on the app clip card and users can't get past that.
Topic: App & System Services SubTopic: General Tags:
May ’24
Reply to ios 17.4 - no option to make contactless app as default payment app in Setting for EEA region
Once you have successfully built and installed your app, properly configured with the necessary entitlements, you should be seeing the option to make that app the default app in Settings->General->Contactless & NFC For this setting option to show up (or for any any of the EEA based features to work) Your app must be correctly configured and built with the correct entitlements and the necessary APIs Your testing device must physically be located in the EEA and is a supported type (iPhone only). The signed-in Apple ID on the device must be registered in an EEA country or region.
Apr ’24
Always Getting Error while reading NFC
I am following this code https://developer.apple.com/documentation/corenfc/building_an_nfc_tag-reader_app to implement a simple scanner for NFC. Now whenever I scan I am always getting connection to service with pid 60 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>. this error. It always calls this function func readerSession(_ session: NFCNDEFReaderSession, didInvalidateWithError error: Error)
0
0
637
Apr ’24
The application is a mobile pass system using NFC
Hello everyone Together with a team of students, we have developed an application for android, a pass system that works using NFC, tell me if it will be possible to release a similar system on iOS. It's just that payment using NFC does not work in Russia. In our case, payment is not necessary, the NFC chip is used to transmit the signal to the reader. I would be very grateful if you could tell me if it will be possible to release our application in the App Store
0
0
522
Apr ’24
How to communicate with smart card readers conncetd to USB-C port in iOS?
Hello All, I am new to iOS development and would like to detect the smart card readers connected to USB-C port on iOS (16+) devices. The smart card reader is a custom hardware and not MFi certified. So as per my understanding, I cannot use ExternalAccessory.framework without MFi certification. Correct? How else can I achieve this? Does TKSmartCardSlotManager works for this purpose (or is it only for NFC devices?)? Is there any example for how to use this interface? I couldn't find any example for this as a starting point... Thanks in advance.
4
0
2.0k
Apr ’24
Reply to External NFC on iPad
Turns out the FlowJack will not work as it is strictly for POS systems. Has anyone any ideas on how to use an external NFC reader with an iPad? There are readers such as https://store.gototags.com/cir315c-portable-nfc-usb-reader/ but they don't offer an SDK to trapping any calls being made. Surely there is some way to scan NFC on an iPad without an iPhone?
Topic: App & System Services SubTopic: Hardware Tags:
Apr ’24
External NFC on iPad
Hello all! I have an app (Scriptio Medication Management) that uses NFC on iPhone, and that works really well. However, I need a larger screen to satisfy customer requests (reports, etc). Because we use NFC tags to authenticate & authorize I need to stick with this tech. I cannot assume that all my customers have iPhone (we also deploy to Android) so pairing an iPad with an iPhone doesn't work for us. I was looking at an external device such as FlowJack, but since iPad no longer has an audio port, this won't work for me. Has anyone been able to solve this type of issue? Ideally I can find a solution that non-technical folks can attach/pair with an iPad to read NFC devices (NOT payment processing). Thanks in advance
2
0
2.4k
Apr ’24
Passkeys authenticatorAttachment and transports in macOS 14.4 and iOS 17.4
In the new macOS and iOS updates (14.4 and 17.4 respectively), something has changed in regards to passkey creation: Any passkey created from Safari doesn't have any transports + the authenticatorAttachment is always set to platform, irrespective of whether a cross-platform authentication method is utilized, such as a hardware security key. All passkeys saved in iCloud Keychain created from any browser have an authenticatorAttachment always set to platform + empty authenticator transports. authenticatorAttachment always set to platform According to the WebAuthn specification (Section 5.4.5), the authenticatorAttachment descriptor plays a crucial role in guiding the client (browser or platform) to create or use an authenticator of a specific type. The options are platform for a built-in authenticator or cross-platform for a roaming authenticator. Some relying parties mandate a cross-platform method for the first passkey or as second authentication factor. This is to ensure users do not find themselves locked o
3
0
1.4k
Apr ’24
iOS Automation could not run because an internal error occurred
I am developing a shortcut for an application that is currently in production. The shortcut essentially involves opening the application and launching a notification so that the AppDelegate initiates a process to scan NFC tags. To achieve this, I have an AppIntent that overrides the variable openAppWhenRun = true and an AppShortcutsProvider to implement this intent. The problem arises when a user updates to the latest version of the application and tries to implement this shortcut through an automation. The following error appears: When 'Reader' is detected encountered an error: The action 'Scan DMA tags' could not run because an internal error occurred. This does not always happen, only on some devices. However, if we uninstall and reinstall the application, it works perfectly. But this is not a viable solution since the application uses a database and data loss from frequent uninstallations is not acceptable. Any solution? I have tried to replicate the error but have been unable to do so. This issu
Replies
2
Boosts
0
Views
1.1k
Activity
May ’24
When Rotate screen, a scanning sheet does not respond to any touch interactions
I have implemented NFC card reading functionality using NFCTagReaderSession. After starting the NFC reader session in landscape mode at least once, if I switch back to portrait mode and attempt to start the NFC reader session again, the scanning sheet does not respond to any touch interactions. Regardless of whether the screen is rotated, I expect the user to be able to close the reading screen, but it remains open. Is there any workaround for this issue? Code: class ViewController: UIViewController, NFCTagReaderSessionDelegate { func tagReaderSessionDidBecomeActive(_ session: NFCTagReaderSession) { } func tagReaderSession(_ session: NFCTagReaderSession, didInvalidateWithError error: any Error) { } func tagReaderSession(_ session: NFCTagReaderSession, didDetect tags: [NFCTag]) { } override func viewWillTransition(to size: CGSize, with coordinator: any UIViewControllerTransitionCoordinator) { super.viewWillTransition(to: size, with: coordinator) let session = NFCTagReaderSession(poll
Replies
0
Boosts
0
Views
582
Activity
May ’24
Reply to HCE in iPhone
It's all very well to open up the HCE for banks, but what about other ways of using the HCE. There are companies in the Americas and Asia leveraging Apple's NFC HCE for access control, integrating access badges/cards into Apple Wallet. Is this functionality available in Europe? If not, what's the reason? Can this be accomplished using Apple's Secure Element? I haven't come across any information addressing this.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
May ’24
Send APDU Commands to iso7816 in background
Hello iPhone xs for testing XCode 15.3 I've successfully managed to select the AID and send other commands to a SmartCard using the following code: class NFCReader: NSObject, ObservableObject, NFCTagReaderSessionDelegate { func startNFCSession() { session = NFCTagReaderSession(pollingOption: [.iso14443], delegate: self, queue: nil) session?.alertMessage = Hold your iPhone near the NFC tag. session?.begin() // Start the session } func tagReaderSession(_ session: NFCTagReaderSession, didDetect tags: [NFCTag]) { guard let tag = tags.first else { // Safely unwrap the first tag session.invalidate(errorMessage: No SmartCard detected.) return } session.connect(to: tag, completionHandler: { (error: Error?) in if let error = error { session.invalidate(errorMessage: Unable to connect to SmartCard: (error.localizedDescription)) return } switch tag { case let .iso7816(iso7816Tag): self.sendAPDUCommandSelect(to: iso7816Tag) self.sendAPDUCommand_2(to: iso7816Tag) default: print(Not iso7816 type) // Update the Swif
Replies
1
Boosts
0
Views
891
Activity
May ’24
Reply to App Clip Unavailable
Currently experiencing the exact same issues. app clip was working and everything was fine, then a app release with no significant changes to the app clip (maybe a few lines of code changed) and now every scan or QR/App Clip Code/NFC shows App Clip Unavailable on the app clip card and users can't get past that.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
May ’24
Reply to AppClip is Unavailable
Having the exact same thing happen. All ways of opening the app clip except for QR scan or NFC scan work, but for QR/NFC it says app clip is unavailable
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
May ’24
Reply to Core NFC watchOS
No, Core NFC is not available in the watchOS SDK.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Apr ’24
Reply to ios 17.4 - no option to make contactless app as default payment app in Setting for EEA region
Once you have successfully built and installed your app, properly configured with the necessary entitlements, you should be seeing the option to make that app the default app in Settings->General->Contactless & NFC For this setting option to show up (or for any any of the EEA based features to work) Your app must be correctly configured and built with the correct entitlements and the necessary APIs Your testing device must physically be located in the EEA and is a supported type (iPhone only). The signed-in Apple ID on the device must be registered in an EEA country or region.
Replies
Boosts
Views
Activity
Apr ’24
Core NFC watchOS
Is there a way to access the Core NFC Framework from within a watchOS app?
Replies
2
Boosts
0
Views
925
Activity
Apr ’24
Always Getting Error while reading NFC
I am following this code https://developer.apple.com/documentation/corenfc/building_an_nfc_tag-reader_app to implement a simple scanner for NFC. Now whenever I scan I am always getting connection to service with pid 60 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>. this error. It always calls this function func readerSession(_ session: NFCNDEFReaderSession, didInvalidateWithError error: Error)
Replies
0
Boosts
0
Views
637
Activity
Apr ’24
The application is a mobile pass system using NFC
Hello everyone Together with a team of students, we have developed an application for android, a pass system that works using NFC, tell me if it will be possible to release a similar system on iOS. It's just that payment using NFC does not work in Russia. In our case, payment is not necessary, the NFC chip is used to transmit the signal to the reader. I would be very grateful if you could tell me if it will be possible to release our application in the App Store
Replies
0
Boosts
0
Views
522
Activity
Apr ’24
How to communicate with smart card readers conncetd to USB-C port in iOS?
Hello All, I am new to iOS development and would like to detect the smart card readers connected to USB-C port on iOS (16+) devices. The smart card reader is a custom hardware and not MFi certified. So as per my understanding, I cannot use ExternalAccessory.framework without MFi certification. Correct? How else can I achieve this? Does TKSmartCardSlotManager works for this purpose (or is it only for NFC devices?)? Is there any example for how to use this interface? I couldn't find any example for this as a starting point... Thanks in advance.
Replies
4
Boosts
0
Views
2.0k
Activity
Apr ’24
Reply to External NFC on iPad
Turns out the FlowJack will not work as it is strictly for POS systems. Has anyone any ideas on how to use an external NFC reader with an iPad? There are readers such as https://store.gototags.com/cir315c-portable-nfc-usb-reader/ but they don't offer an SDK to trapping any calls being made. Surely there is some way to scan NFC on an iPad without an iPhone?
Topic: App & System Services SubTopic: Hardware Tags:
Replies
Boosts
Views
Activity
Apr ’24
External NFC on iPad
Hello all! I have an app (Scriptio Medication Management) that uses NFC on iPhone, and that works really well. However, I need a larger screen to satisfy customer requests (reports, etc). Because we use NFC tags to authenticate & authorize I need to stick with this tech. I cannot assume that all my customers have iPhone (we also deploy to Android) so pairing an iPad with an iPhone doesn't work for us. I was looking at an external device such as FlowJack, but since iPad no longer has an audio port, this won't work for me. Has anyone been able to solve this type of issue? Ideally I can find a solution that non-technical folks can attach/pair with an iPad to read NFC devices (NOT payment processing). Thanks in advance
Replies
2
Boosts
0
Views
2.4k
Activity
Apr ’24
Passkeys authenticatorAttachment and transports in macOS 14.4 and iOS 17.4
In the new macOS and iOS updates (14.4 and 17.4 respectively), something has changed in regards to passkey creation: Any passkey created from Safari doesn't have any transports + the authenticatorAttachment is always set to platform, irrespective of whether a cross-platform authentication method is utilized, such as a hardware security key. All passkeys saved in iCloud Keychain created from any browser have an authenticatorAttachment always set to platform + empty authenticator transports. authenticatorAttachment always set to platform According to the WebAuthn specification (Section 5.4.5), the authenticatorAttachment descriptor plays a crucial role in guiding the client (browser or platform) to create or use an authenticator of a specific type. The options are platform for a built-in authenticator or cross-platform for a roaming authenticator. Some relying parties mandate a cross-platform method for the first passkey or as second authentication factor. This is to ensure users do not find themselves locked o
Replies
3
Boosts
0
Views
1.4k
Activity
Apr ’24