Search results for

nfc

1,143 results found

Post

Replies

Boosts

Views

Activity

Reply to Swift iOS iPadOS app for Smartcard Token PIV using CryptoTokenKit
This is all quite feasible. You don’t need to use CTK here, although there are some situations where you might want to do that [1]. However, for basic functionality all you need to do is: On iOS only, add the com.apple.token keychain access group to your keychain-access-groups entitlement [2]. When querying the keychain with SecItemCopyMatching, pass in the kSecAttrAccessGroup attribute with the value set to kSecAttrAccessGroupToken. Pasted in below are a few code snippets from a test project I have lying around. I tested it with a YubiKey 5 NFC. IMPORTANT This snippet uses deliberately bad crypto, .rsaSignatureMessagePSSSHA1. This snippet uses the secCall helpers from here. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com [1] For example, using TKTokenWatcher to watch tokens come and go. [2] The docs are not at all clear about this, something I recently filed a bug about. Coulda sworn I filed a bug about that but I can’t find the bu
Topic: Privacy & Security SubTopic: General Tags:
Feb ’23
Apple Wallet transit cards
Hello there, I just wanted to ask about the NFC features implementations. I went to Japan recently and noticed they could use the phone to travel by adding the SUICA card to their apple wallets. Let's say I want to replicate the system in my country... Can it be done with PassKit APIs or do we need to contact apple to add our transit to their list? What we want to do is basically add our bus cards to wallets. (They work with NFC) The government would implement the system, is not a simple card cloning app. Thank you very much in advance!
1
0
1.2k
Feb ’23
Reply to Apple Watch NFC Tags
Come on guys. In 2023 it should be normal that the watch can read nfc tags. My whole house is smart and my 600€ watch still lives in 2010. I bought the watch because I thought it would operate my smart lock and automations and I would not always have to take my phone with me. Now I have an Apple product that is expensive and useless to me. Please make an update that unlocks the feature.
Topic: App & System Services SubTopic: Core OS Tags:
Feb ’23
Reply to iOS passkit unable to open .pkpass file on mac
I have the same issue. It's surprising there is not a straight forward resource on how to use PassKit. it's even worse if you want to use NFC functionality. Right now, I am just trying to get something into the Wallet app at all. It took forever just to get the certificate signing errors to go away. I've used the reference you listed and also this: https://developer.apple.com/library/archive/documentation/UserExperience/Conceptual/PassKit_PG/YourFirst.html#//apple_ref/doc/uid/TP40012195-CH2-SW1
Topic: App & System Services SubTopic: Core OS Tags:
Feb ’23
NFCTagReaderSession.PollingOption.pace fails with "Missing required entitlement" error
Hi, I'm developing an app that reads the NFC tags. So far so good, everything worked as expected, the app reads the passports and the IDs, until we encountered the french ID issued after March 2021. My app has the following entitlements: com.apple.developer.nfc.readersession.formats TAG And this additional entries in the .plist: NFCReaderUsageDescription NFC usage to scan ID chip ... com.apple.developer.nfc.readersession.iso7816.select-identifiers A0000002471001 A0000002472001 00000000000000 According to an article which I cannot link on this forum because the domain is not permitted, iOS started supporting this specific ID from version 16. When I look at the docs, I can see the .pace polling mode was added. I tried specifying this additional polling mode in my app like so: var pollingOptions: NFCTagReaderSession.PollingOption = [.iso14443] if #available(iOS 16, *) { pollingOptions.insert(.pace) } self.session = NFCTagReaderSession(pollingOption: pollingOptions, delegate: self, queue:
1
0
1.3k
Feb ’23
Introducing NFC to Apple Wallet
Hello. I am Enes from Turkey. I have a lifechanging solution about business cards. I have been producing digital business cards for more than 2 years. Now I want to Introduce the card into the Apple Wallet and use the NFC hardware to open a website URL on the other phone. Is there any suggestions for me? Thank you.
0
0
658
Feb ’23
Reply to What does the number key means in log-power-timestamp.session
Maybe have relation with these categories: Audio: Used to play audio in your app Networking: Used for networking Processing: Used by the CPU and GPU Display: Used to show the application UI Bluetooth: Used for Bluetooth Location: Used for location tracking within your app Camera: Used by the camera within your app Torch: Used for the flashlight NFC: Used for NFC within your app Other: A combination of the power in the above categories thatʼs too small to show in the list and any other power use
Topic: App & System Services SubTopic: Hardware Tags:
Feb ’23
Where is the correct and official contact window for Apple VAS?
Hi everyone, I work in a company with NFC-enabled reader manufacture. As for the title, I have searched for it for a lone time. Not NFC Certificate Request, it's for issuing passes. I inquired about MFI and the reply was that NFC is not within the scope of MFI. I have asked the local Apple team for help and they have no contact information for other teams and it is not clear which team to contact. My questions are below. Where is the correct and official contact window for Apple VAS? Is my post posted in the correct forum? If not, can you provide the correct place to ask? If possible, I hope to know the conditions for obtaining VAS authorization. Thanks a lot. Ken.
3
0
1.8k
Feb ’23
Is it possible to raise Priority / Precedence of NFC Tasks over Network Function?
I'm facing issue on my NFC app such that the 'SendMiFareCommand()' API returns 'Tag Connection Lost' or 'Tag No Response' errors very frequently, especially on iPhone 12 and above, where 5G signal is weak. Since the issue doesn't appear on older iPhones or even on newer iPhones when they're put in flight mode, with exactly the same setup, we're certain that it has got to do something with the way iOS handles NFC function when 5G signal reception is poor. We even got this seconded from NFC tag manufacturers NXP and ST. So is there any way I can adjust priority / precedence of NFC function when 5G signal reception is poor? With 5G signal poor in almost all areas of the US as of now, this issue is pressing and affects the entire UX of my app.
0
0
543
Jan ’23
NFC Session 'DidInvalidate()' gets called with error code 'System Resource Unavailable' error code
I'm developing an NFC based app where I've been facing issues such that 'Tag Connection Lost' or 'Tag no response' errors are returned by the 'SendMiFareCommand()' function very frequently. This is observed more frequently on iPhone 12 and above when 5G network signal is weak. Anyway, that's a different issue which I'm following up separately. Because of those frequent errors, I require to Invalidate() NFC session and restart a new session because those errors are non-recoverable. For this purpose, I invoke 'InvalidateSession()', check for session.IsReady flag to be 'false' and then start a new session for the retry. Right after calling 'BeginSession()' at this moment, 'DidInvalidate()' gets hit with an NSError code 'System Resource Unavailable'. What could be the cause behind? I'm checking if previous session was properly invalidated.
0
0
833
Jan ’23
Reading NFC Tags from App Clip Invocations
In my full application I have a universal link configured on an NFC tag that allows me to launch my application via NFC background tag reading and process additional NDEF records held on the tag via the NFCNDEFMessage provided to onContinueUserActivity(). I can use this same NFC tag to launch my App Clip via the same URL when the full app is not installed. However, unlike the full app the App Clip only receives a single NDEF record with .typeNameFormat = .empty. Is this a limitation of App Clip invocations? I have also implemented full NFC reader functionality within the App Clip which does retrieve all the records from the tag, but of course requires the user to tap the same tag twice to read its full contents. Ideally I would like to avoid requiring users to tap the tag twice to read.
0
0
652
Jan ’23
Does Wallet support ISO14443-3a?
Hi, I am trying to create NFC passes in Wallet. The ones I made seems to follow ISO14443-4 but the reader that I want to use only supports ISO14443-3a. It is possible for the passes to be compatible with it? If not, where can I find a list of readers that are compatible with Wallet passes?
0
0
603
Jan ’23