Search results for

“nfc”

1,191 results found

Post

Replies

Boosts

Views

Activity

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.2k
Mar ’23
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
884
May ’22
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
237
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
966
May ’23
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
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
983
Sep ’19
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
376
Nov ’21
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
480
Apr ’23
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
171
Aug ’25
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
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?
Replies
2
Boosts
0
Views
1.2k
Activity
Mar ’23
Any requirement for passkit NFC enabled certificate?
Hello.I want to make a Reward pass with NFC, but I'm curious about how to issue Enhanced NFC Certificate from Apple. What's requirements for issuing that? I'm not yet employed, then am I not qualified to develop NFC-enabled pass?Is there anyone to tell the detail requirements for it?
Replies
3
Boosts
0
Views
2.9k
Activity
Nov ’16
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!
Replies
1
Boosts
0
Views
884
Activity
May ’22
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)
Replies
2
Boosts
0
Views
237
Activity
Jul ’25
Write NFC Tag with Password protected
Can we write NFC Tag with password in iOS? That means iOS can Read/write to NFC tag with password protection? If yes then can you please share with me some details?
Replies
1
Boosts
0
Views
1.4k
Activity
May ’22
Will NFC write be opened anytime soon?
I'm developing an app which uses NFC read, but would also like to be able to write.I know Writing to NFC is not currently supported, but i was wondering if/when this functionality will be released
Replies
0
Boosts
0
Views
399
Activity
Sep ’17
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.
Replies
0
Boosts
0
Views
966
Activity
May ’23
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.
Replies
5
Boosts
0
Views
1.8k
Activity
Jan ’21
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
Replies
1
Boosts
0
Views
983
Activity
Sep ’19
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?
Replies
0
Boosts
0
Views
376
Activity
Nov ’21
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.
Replies
0
Boosts
0
Views
480
Activity
Apr ’23
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.
Replies
1
Boosts
0
Views
171
Activity
Aug ’25
How to create QR code and NFC pass
I am making an app that issues tickets within the app. How to issue a QR code pass there. How to create NFC path. How to authenticate NFC pass.(TouchID or FaceID) please teach me.
Replies
2
Boosts
0
Views
3k
Activity
Jun ’20
Can I use an NFC on my iPhone to unlock a door?
I have an NFC door, but I always have to enter a pin, and I have thought, Can I unlock this using an NFC on my Apple Watch, Apple AirTag, or iPhone, since they all use NFC? It seems it would save so much time, yet I do not know if there is an app/program that I could use, much less how to program it to trigger. Please reply if you have a response.
Replies
1
Boosts
0
Views
1.4k
Activity
Nov ’23
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
Replies
11
Boosts
0
Views
11k
Activity
Nov ’17