Search results for

nfc

1,175 results found

Post

Replies

Boosts

Views

Activity

NFC enabled kiosk automatically triggers Apple Pay to open
How do I prevent Apple Pay from automatically opening (when close to an NFC terminal), when all I want is for a stored loyalty card to be displayed for use with the NFC enabled terminal.Curently, when the digital loyalty card is displayed at the NFC enabled terminal, Apple Pay automatically opens, and the customer is unable to use their digital loyalty card.
0
0
1.3k
Apr ’17
is Apple File System(AFS) is supporting NFD only for iOS 10.3 & later versions?
I have few questions regarding Normalization Form C and Normalizaton fromation D in the Apple File System for iOS 10.3 & later versions1. is there any changes in Normalization Form for Apple File Sytem(AFS) to the iOS 10.3 & later versions.2. is NFC will not use in AFS for iOS 10.3 & later ?3.When transferring a file created on Windows to an application through iTunes file sharing function etc., the file including the voiced point / semi-voile point can not be accessed from the application environment. is it correct? If yes, can you please provide detailed notes.
Topic: UI Frameworks SubTopic: UIKit Tags:
0
0
700
May ’17
NFC Enable Reward Pass for India
I understand that Apple Pay is not supported in India right now.But my question is that is it still possible buy a payment terminal machine (from link 1) and :Use it in VAS terminal mode (see DETAILS) so as to only accept NFC enabled Reward pass and not card based payments(as card based Apple payment is not supported in India). NFC based Reward passes are stored in your Wallet App.The actual use case would be:I received a NFC enabled Reward Pass from a link and I added it to my Wallet App.I went to shopping and I found a payment machine which process Apple NFC enabled reward passes. (Is this point possible in India??)Once I go near to payment machine, I get a popup to redeem points from my reward pass and payment processed successfully.So is above mentioned points valid for locations where Apple pay is not available??DETAILS: The value added service (VAS) protocol was designed by Apple to facilitate reward transaction via NFC between Apple devices and your bled pay
0
0
1.8k
May ’17
Xcode 9.0 beta <CoreNFC/CoreNFC.h> not found
Hi,How do you configure your project in Xcode 9.0 Beta to find the CoreNFC headers? The following files exist:/Applications/Xcode-9-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreNFC.framework/Headers/CoreNFC.hBut in my project, the following line fails:#import <CoreNFC/CoreNFC.h> ! 'CoreNFC/CoreNFC.h' file not foundBrand new project, no special settings other than enabling NFC NDEF in info.plist.I'm sure I'm doing something stupid. What could it be?Thanks for any help,Terry
1
0
592
Jun ’17
SOLVED - Adding NFC Frameworks in Xcode
I have the current Xcode 9 beta, and I've created a completely new project based on Objective C so I can explore the NFC functionality.I've added the CoreNFC.framework in Linked FrameworksI've also added Privacy - NFC Scan Usage Description to my info.plistHowever as soon as I add:#import <CoreNFC/CoreNFC.h>I get an error - File Not Found CoreNFC.hAnyone know why I cannot add this framework to my project?[EDIT] Typical Apple the errors are not descriptive at all, you have to have a device plugged in, trying to build on simulator or even generic device for me fails to build the project. Once I plugged in the iPhone 7 the errors dissapeared [/EDIT]Plasma
1
0
1.3k
Jun ’17
NFCNDEFReaderSession - is this "on" in this release?
After jumping thru a couple of hoops/getting a couple of hints, I believe I have this all set up correctly, however on iPhone 7 readerSession:session:didInvalidateWithError: is reporting Feature not supportedNote that I have:- Proper provisioning/entitlement via dev portal- Actual entitlement added to app's .entitlements file (not yet exposed via Xcode Capabilities)- NFC Privacy messageAbout that last one...I don't see a way to request a grant to show this message and it doesn't show 'automagically' when .begin() is called on an NFCNDEFReaderSession instance.Has anyone gotten this to read a tag?@ People - is this actually enabled yet for realsies? 🙂
4
0
1k
Jun ’17
Can't begin NFCNDEFReaderSession, invalidates immediately.
I'm trying to implement a simple app in Swift 4 with CoreNFC to explore the framework, but I can't get it to work on my iPhone 7.My code is very straightforward:nfcSession = NFCNDEFReaderSession(delegate: self, queue: nil, invalidateAfterFirstRead: false) nfcSession?.begin() print(NFC Ready: (nfcSession.isReady))And I always get the output:NFC Ready: falseAnd thenfunc readerSession(_ session: NFCNDEFReaderSession, didInvalidateWithError error: Error)is called with the following error:Error Domain=NFCError Code=202 Session is invalidated unexpectedly UserInfo={NSLocalizedDescription=Session is invalidated unexpectedly}It doesn't matter when I call the functions, it always fails.Does anyone have the same problem? Did you manage to solve it? Thanks!
14
0
12k
Jun ’17
Reply to Can't begin NFCNDEFReaderSession, invalidates immediately.
For that error, it is likely due to not having proper Entitlements. You need to go to Apple, add the NFC entitlement to the app id, grab a provisioning profile/use that provisioning profile (you can click the (?) next to the label of the chosen profile under Signing in the General tab when you select the Target) that has the entitlement...AND you will need to manually add it to your app's .entitlements file (k:v = com.apple.developer.nfc.readersession.formats:NDEF).After this, you should not get that error again. Instead, you will get, at least on iPhone 7, Feature not supported error 🙂
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’17
Reply to Can't begin NFCNDEFReaderSession, invalidates immediately.
Thanks! So, I've made some progress. The docs say that if you instantiate another session, it puts them in a queue. So I've wrote my app with a new session button and I (gently) spam it. 😁Eventually the scanner popup appears!! My tags don't work though hahaha(I attached images but they're not showing properly for me.)Interestingly, nfcSession.isReady never returns true? Or maybe begin() is blocking the thread. I will investigate tomorrow because it's 4 am haha. Good luck!Edit: This is the exact code that when spammed triggers the scanner properly: nfcSession?.invalidate() // nfcSession is a member variable nfcSession = NFCNDEFReaderSession(delegate: self, queue: nil, invalidateAfterFirstRead: false) nfcSession?.begin() print(NFC Ready: (nfcSession?.isReady ?? false))
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’17
Core NFC can not find NFTechnologyEvent
I created a sample application to scan different NFC tags with Core NFC. Unfortunately when it finds NDEF messages, I get this exception output:2017-06-07 15:36:58.919005+0200 NFC[399:60159] <NSXPCConnection: 0x1c4114eb0> connection to service named com.apple.nfcd.service.corenfc: Warning: Exception caught during decoding of received message, dropping incoming message. Exception: Exception while decoding argument 0 (#2 of invocation): <NSInvocation: 0x1c047cd80> return value: {v} void target: {@} 0x0 selector: {:} didDetectExternalReader: argument 2: {@} 0x0 Exception: decodeObjectForKey: class NFTechnologyEvent not loaded or does not existHas someone an idea what that means? It doesn't look like the 'normal' bugs in early betas, it seems to be some kind of linker error?I have set the entitlement entry and the usage description. It's also activated in the app id and I'm using the correct provisioning profile.Thanks in advance!
3
0
1.5k
Jun ’17
Reply to CoreNFC problems
Ok... I solve it. The problem was the entitlement.Now I have another problem, I don't found any NFC tag valid for the reader. I see to buy some NDEF tags, but I see that have very models (Ntag 203, Ntag 213,...) Which NDEF tag is compatible for test the NFCReader app on iPhone? (If is available in Aliexpress for shopping, besser :-) )
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’17