Search results for

nfc

1,175 results found

Post

Replies

Boosts

Views

Activity

How to use NFC and suppress Apple Pay?
Hello, I need to use NFC for a project. My problem is that always when im entering with my Phone a RFID field Apple Pay shows up instead of just my NFC application. I know that you can suppress Apple Pay with adding com.apple.developer.passkit.pass-presentation-suppression to the Entitlements File but my Problem is that this Entitlement also suppresses NFC which I need. How can I suppress Apple Pay but use NFC? Thanks for Help!
1
0
871
May ’22
NFC Error
When i write text record on nfc tag, sometimes success but sometimes gives me error below. Error: Error Domain=NFCError Code=401 Stack Error UserInfo={NSLocalizedDescription=Stack Error, NSUnderlyingError=0x2822f9a10 {Error Domain=nfcd Code=21 writeNdefData:toTag:error::360 UserInfo={Line=360, NSLocalizedDescription=Connection Closed, NSDebugDescription=writeNdefData:toTag:error::360, Method=writeNdefData:toTag:error:}}} I don't know why this error sometimes occur. What is the meaning of Connection Closed? And how can I solve the issue?
2
0
1.1k
Mar ’23
Is "NFC & SE Platform" required for raw ISO7816 APDU send via NFC?
I stumbled across the Apple NFC & SE Platform while searching for the cause to a persistent missing entitlement error. I am curious if not having this entitlement could be the root cause to my issues? Specifically, I am trying to perform an HMAC-SHA1 challenge-response via NFC on a YubiKey. Part of this entails low level APDU Send commands via NFC. The missing entitlement occurs right after the APDU Send. Per my separate post, I believe I have exhausted all other possible causes to no avail. For reference and details, this is the other post: [https://developer.apple.com/forums/thread/791995)
2
0
225
Jul ’25
Detect if NFC is enabled or not
Hi, I am using the below code to detect if NFC is enabled or not. (BOOL)isNFCAvailable { if ([NFCNDEFReaderSession readingAvailable]) { return YES; } return NO; } I have also added the permission is info.plist file NFCReaderUsageDescription Detecting if NFC is enabled or not I am testing on iphone XS with ios 15.6.1 and on iphone 11 with ios 13.2.2. In both the cases, the API is returning false. Can you please let me know if I am missing something.
0
0
953
May ’23
NFC Session Handling
Hi together, i am working with the new CoreNFC library using ISO7816.I also are pretty new within the apple world and have two talking points regarding the NFCReader session handling.My use-case uses longlasting sessions with the card. However the NFCSession invalidates after about 20 seconds.Is there a way to extend the duration by setting a arbitrary timeout ? I cannot find any calls in the api regarding this.Secondly I may need user interaction while the session with the card is active. If i start the session ios shows the nfc overlay and blocks my UI thread until finished. Is there a way to manage the UI in an arbitrary way during NFC sessions?Sincerely
1
0
971
Sep ’19
NFC CPSErrorDomain error 2.
Hi Guys, if we use our NFC Chip (Background Scanning) with our domain xyz.tld/pages (NFC with URL) than we get following Error: CPSErrorDomain error 2. If we use other URL, than it's works fine, for example, following URLS works fine: xyz.tld xyz.tld/ xyz.tld/page xyz.tld/page/xyz xZz.tld/pages But if we add: xyz.tld/pages xyz.tld/pages/xyz than we got the error CPSErrorDomain-Error 2 we also tried (with different tld) xyz.tlx/pages or x.xyz.tlx/pages (Subdomain, www. to) what works fine.... It makes no sense? Or apple blocked our domain? Scanning with Iphone X or other normal NFC Reader are not a problem and works fine, only Background scanning have this issue. This happen only with background scanning on iOS 14.1 (iphone 12 pro ) and ios 14.4 (18D5030e) (iphone 11 pro) with iphone X 14.1 (18A395) native NFC Scanner it works fine.
5
0
1.8k
Jan ’21
Background NFC tag reader
Hi I’m hoping that someone can give me a definitive answer on this as if it is not possible then I will need to look at other possibles ways around it. I am developing an app that will need to check regularly whether an NFC tag is nearby but it won’t be convenient for the user to accept the notification every time, is there a method I can implement so the user can accept the permission to scan the NFC tag passively in the background without showing a notification?
0
0
371
Nov ’21
Nfc session
I notice that there are two types of nfc session: NFCTagReaderSession this session in order to get tag's basic info like uid/type which call back function is tagReaderSession(_ session: NFCTagReaderSession, didDetect tags: [NFCTag]) NFCNDEFReaderSession this session in order to get ndef message in tag which call back function is readerSession(_ session: NFCNDEFReaderSession, didDetectNDEFs messages: [NFCNDEFMessage]) My problem: How can i get tag's basic info and tag's ndef message(if it exists) simultaneously in one session or in one callback function.
1
0
150
Aug ’25
Is It Possible To Use NFC Between iPhones?
Hi, i have a application that has textfields on UI. I can share this textfield's texts with using NFC on RFID card. I want to share this without using rfid cards, is it possible to share this texts with only using two iphone? For example, 1 iphone will be a reader, and other one will be a writer. Both phones are using same application. Read and Write nfc buttons are stay in application.
0
0
475
Apr ’23
Calling NFC Reader in a different ViewController
Hello, im trying to call from my View Controller a NFC Reader in a different ViewController. The NFC Reader starts but doesn't calls: func readerSession(_ session: NFCNDEFReaderSession, didDetectNDEFs...) I can call the NFC Reader in the other ViewController but don't use reader output because i think, that he doesn't calls the didDetectNDEF function. Thanks for Help
2
0
869
Apr ’22
Time to get NFC Apple Wallet Cert
HiHow long does it take to get an NFC Certificate from Apple? So that we can delivery NFC Enabled Loyalty Passes.We registered at the following address but haven't received any communication for over 2 weeks.https://developer.apple.com/contact/passkit/We are developing solutions for our clients and need to test the technology.We use different PassTypeIDs for each of our Customers so it's likely we will need a different NFC certificate for each of our customers.How do we get NFC Certificates in bulk so that we can deliver NFC Loyalty Programmes to our Customers?Thanks
11
0
11k
Nov ’17