Core NFC

RSS for tag

Detect NFC tags, read messages that contain NDEF data, and save data to writable tags using Core NFC.

Core NFC Documentation

Posts under Core NFC tag

101 Posts
Sort by:
Post not yet marked as solved
1 Replies
616 Views
Hi there! I'm not able to build my NFC APP with Xcode 12.5.1 for my Iphone 11 pro Provisioning profile ... doesn't include the com.apple.developer.nfc.readersession.felica.systemcodes and com.apple.developer.nfc.readersession.iso7816.select-identifiers entitlements. **Here is my info.plist: ** and here is my entitlement: What could be the problem? Thank you in advance. Best Regards, Daniel
Posted
by
Post not yet marked as solved
0 Replies
347 Views
Hello, From this information: https://support.apple.com/fr-fr/guide/deployment-reference-ios/apd05d8c6344/web, I thought that I could use the CoreNFC framework in a persistent extension. Unfortunately, it seems that this is not the case. Any chance to have this framework available for persistent extension ? I opened a request on the feedback assistant (FB9382909) is this the right path to ask for that kind of stuff ? Regards, ++dom
Posted
by
Post not yet marked as solved
2 Replies
462 Views
The following phenomenon is occurring on iOS15 beta 4. (I didn't check in other iOS 15 beta versions.) Immediately after completing the NFC scan, when the App ran nfcReaderSession?.begin(), tagReaderSession(:didInvalidateWithError:) was called and the error code was 200. Immediately after that, tagReaderSessionDidBecomeActive(:) was called and the scan sheet was displayed. The [Cancel] button in the scan sheet is not operated. If you execute the method after a while after the NFC scan is completed, the above phenomenon will not occur.
Posted
by
Post not yet marked as solved
1 Replies
637 Views
Our function is to use CoreNFC to detect various NFC chips to obtain the unique ID in the chip. Under the iOS14.5 system, it is normal to read other cards. When reading the ID card of a Chinese mainland citizen, the unique ID obtained is empty and all 0. The details are shown in the following figure: Since NFC reads the ID card of mainland Chinese citizens can only be used after iOS 14.5, I don't know if Apple did not open it, or what restrictions Apple has, it has been tangled for a long time. With the same code, it is normal to read other NFC cards, as shown in the figure below: Hope someone can help me
Posted
by
Post not yet marked as solved
0 Replies
296 Views
Hi there, I'm brand new to the world of NFC, and have a bit of a niche request. I'm looking for a way to program an NFC tag to launch the Calculator ios app and preset it with a string of numbers. I'm a mathematics teacher and wanted to use this to secretly insert a string of numbers into a calculator as a "math magic trick" to demonstrate order of operations. If that's impossible, would an NFC tag be able to copy text to an iOS clipboard automatically, which I could then long press to paste into the calculator?
Posted
by
Post not yet marked as solved
0 Replies
342 Views
Hi there— Has anyone else been having issues with CoreNFC basic Read/Write functionality? My test device (iPhone 12 Pro) has not been able to detect or interact with any NFC tags since switching from the most recent iOS 14 build. I was hoping B6 would fix this but no luck… Feedback ID- FB9404881
Posted
by
Post not yet marked as solved
0 Replies
453 Views
Follow Apple demo, create App ID with NFC, Universial Link entitlement. Project added related entitlement in entitlement plist file. Add Privacy Strings. and "com.apple.developer.nfc.readersession.iso7816.select-identifiers" with related card/passport AID in Xcode Project plist file. tag reader implemented correct, cause I can read my Passport and send command using "NFCISO7816APDU". But when I'm try to connect to a credit card(VISA), error returned, telling "Error Domain=NFCError Code=2 \"Missing required entitlement\" UserInfo={NSLocalizedDescription=Missing required entitlement}" As my understanding Apple still not allow to read the tag with any payment related AID. Core NFC doesn't support payment-related Application IDs. But my thinking is just to read some card information and verify it, not for payment. So wanna to know above error saying "Missing required entitlement" is about the rules of "payment-related Application IDs"?
Posted
by
Post not yet marked as solved
0 Replies
248 Views
Hello We have an app that use NFC for working. We have heard from the developer of the app, that NFC only will work on a wallet or for Apple Pay. So, therefore is that correct ? Greets
Posted
by
Post not yet marked as solved
0 Replies
461 Views
Hi, We have a device (screen) that you can access/wake up by swiping any RFID-card close to it. Would it be possible have the iPhone act as the RFID-card instead in this scenario? I'm testing on my IPhone 7 but the only way I can make it work is by using Apple Pay and adding a card to my wallet. I found this https://developer.apple.com/documentation/corenfc/adding_support_for_background_tag_reading which is supported on iPhone XS and newer phone. Would that solve my issue or do I need to create an app which acts like a RFID-card? Thank you, and I hope you can help me shed some light on this :) /Henrik
Posted
by
Post not yet marked as solved
3 Replies
561 Views
Dear Team! I am using a developer paid account and want to implement NFD technology in my application. In Xcode if I go to capability to enable the NFC it not showing the NFC in the list. If you could help me on this really that would be very helpful. Thanks!
Posted
by
Post not yet marked as solved
0 Replies
246 Views
For the past few days I have been trying to update my MacBook air to the new Big Sur update. I have 20 GB storage left on my Mac, and I already downloaded the update. But when I try to install the update it says it requires 16 further GB, which my Macbook should have, according to "About This Mac" --> "Storage". Best Regards Tobias.
Posted
by
Post marked as solved
3 Replies
555 Views
First of all I'm trying to read all the memory data from NCF Iso15693 Tag (icode slix2) I trying to call the method readMultipleBlocksWithRequestFlags of NFCISO15693Tag class. I'm reading the NFC tag and all the data seems to be correct(indeed in Android works perfect). I read the NFC tag in NFCTools app (https://apps.apple.com/es/app/nfc-tools/id1252962749) and I get all the data that I want to read. I using NFCTagReaderSession [[NFCTagReaderSession alloc]initWithPollingOption:NFCPollingISO15693 delegate:self queue:nil] the delegate code: id<NFCTag> currentTag = [tags firstObject];   if (currentTag.type == NFCTagTypeISO15693) {     id<NFCISO15693Tag> mytag = [currentTag asNFCISO15693Tag];           [tagSession connectToTag:currentTag completionHandler:^(NSError * _Nullable error) {         BOOL available = [currentTag isAvailable];       NFCISO15693RequestFlag requestFlag = NFCISO15693RequestFlagAddress;               [mytag readMultipleBlocksWithRequestFlags:requestFlag blockRange:NSMakeRange(0, 8) completionHandler:^(NSArray<NSData *> * _Nonnull dataBlocks, NSError * _Nullable error) {          BOOL available2 = [currentTag isAvailable];         NSLog(@"error:%@",error);       }];     }]; The Issue: When I connect to the tag, the tag is available and is connected to the session When I try to read the blocks, the tag is connected, but I get a NFCError Code=100 "Tag connection lost" I spent a whole week with this issue and I'm a little bit desperate
Post not yet marked as solved
0 Replies
265 Views
Hi, I am trying to put a MiFare DESFire v1 card on my apple wallet using my app. I can read the data and I think that the PkTransitPass should work. But I am really struggling to see how you make a pass with this. Do I need an Nfc certificate? Any help is much appreciated
Posted
by
Post not yet marked as solved
0 Replies
226 Views
We've developed an app which performs data transfer with a control board over NFC. The NFC tag we're using is a type 2 NXP Ntag with 2k memory. The app works fine with models up to iPhone 11. However with iPhone 12 onwards, we've been experiencing constant NFC tag detection or NFC session termination failures. Moreover, when it fails one time, it keeps on failing for next consecutive attempts no matter how I hold the phone next to the NFC chip. I've tried all distances from 0cm to 4cm and all directions, nothing works. I'm confident that nothing's wrong in the NFC implementation since the same app works absolutely fine on other iPhone models with iOS versions ranging from 14.6 to 15. Is it something related to sensitivity of NFC transceiver? Is there any way it can be compensated at the source code?
Posted
by
Post not yet marked as solved
0 Replies
248 Views
Hello, I have an app that works perfectly with Desfire EV1 tags. Today I have tested it with DesFire EV2 tags and I got very strange results: asNFCMiFareTag returns null, so tag detected as asNFCISO7816Tag not as desfire. of course asNFCISO7816Tag can only work with wrapped apdus but when I send such I am getting back 0x910B so I am wandering what can be wrong? Can I send native apdus using asNFCISO7816Tag or ?
Posted
by
Post not yet marked as solved
0 Replies
332 Views
Hi, So I'm developing an app that actively uses NFC. Anyways, we use NFC tags that have a firebase dynamic link, that basically primarily opens the link in-app as a universal link, but if the app isn't installed, its really just a web link that opens in Safari. So the user flow should really just be the iPhones detecting the NFC tags, showing the notification for the NFC detection to open the link in the app or Safari, and so on. The issue is that, consistently about half the time, scanning the NFC tags opens Apple Wallet/Pay, even prompting Face ID. Although even if Face ID is successful, no transaction actually occurs. But that's the thing, see the NFC tags are really just embedded with simple web links as NDEF, nothing to do with Apple Wallet or Pay whatsoever. I'm not sure if it's just supposed to be the default action on iOS to open Apple Wallet when NFC is detected, but anybody know a workaround for this? (I doubt configuring with support for background tag reading is the solution, because even for iPhones without the app installed, the NFC tags should only be activating notifications to open the web links in Safari) Thanks and cheers
Posted
by
Post not yet marked as solved
0 Replies
570 Views
Has anyone managed to emulate a RFID / NFC tag with the iPhone? Either with Apple Pass / Pay, or CoreNFC? If so, how? We are looking at the MiFare standards, but any NFC emulation (like HCE for Android https://developer.android.com/guide/topics/connectivity/nfc/hce#ManifestDeclaration )
Posted
by