iPhone XS & iPhone XR have improvement to near-field communication, allowing for easier in...

Posted:
in iOS edited September 2018
Apple has updated Core NFC, the iOS system used to perform NFC-based transactions with apps, with the change now allowing for tags that use the technology to be read by an iPhone XS, iPhone XS Max, and iPhone XR without requiring the user to open a relevant app beforehand.




Expanding upon Core NFC's introduction in 2017, which allowed for developers to tap into the iPhone's NFC chip so that apps could scan NDEF (NFC Data Exchange Format) tags, the "What's New in Core NFC" Tech Talks video on Apple's developer site advises of changes made to the framework, coinciding with the introduction of Apple's 2018 iPhones.

The main feature change is Background Tag Reading, which aims to simplify the use of NFC tags for users. Rather than requiring a specific app for the tag to be open in order to read it, the iPhones will instead automatically read NFC tags, and deliver the data it collects to the appropriate apps.

The same mechanism is also able to launch the required app, or bring it to the foreground if it is already running, to make it more immediately available.

The support documents advise that earlier devices, including the iPhone X and iPhone 8, do not support Background Tag Reading, leaving it as a feature only available on the latest models.

According to Apple's requirements, the NFC Tag needs to be an NDEF-formatted tag of type 1 to 5, with the message stored on the tag including a valid Apple Universal Link URL, in order to be routed to the right application. Only the first URL in the message will be processed by the framework in this way.

In normal use, the iPhone will continually check to see if it is near a compatible NFC tag, and reads it. The process generates a notification on the iPhone screen, which if tapped can deliver a NSUserActivity object to the relevant application, namely the contents of the NFC tag's message.




For tags that include application links that are not registered to a specific application, they will be handled by Safari by default, and it will only load the URL in a browser. There are other URL schemes that can trigger a default iOS behavior, such as by starting a text message to a number, preparing a FaceTime call, or by starting the setup process for a HomeKit accessory.

There are a number of situations where Background Tag Reading will be unavailable, mostly for security-related purposes. While the screen is on, it will not work in cases where the device has never been unlocked, the Apple Pay Wallet is in use, a camera is being used for video, airplane mode is enabled, or if there is already an active Core NFC reader session.

The changes to Core NFC are a continuation of Apple's efforts to open up the technology for other uses. In Apple Park, Apple employees are already using iPhones and Apple Watches to unlock doors via NFC, something highlighted in the September event's opening skit.

On the consumer side, the Apple Watch's NFC is used to pair the device with workout equipment in GymKit.

During WWDC, Apple employed a Wallet pass that required the use of NFC and authentication via Face ID or Touch ID to gain entry, similar to an Apple Pay transaction.

Relatively few companies have taken advantage of Core NFC so far, such as glucose reader manufacturer Abbot. Hopefully the expansion of Core NFC's usability will make it more accessible to developers and device producers.

Comments

  • Reply 1 of 12
    mike1mike1 Posts: 3,275member
    That's a big deal if we are ever going to get to use our phones as key cards.
    StrangeDayswatto_cobra
  • Reply 2 of 12
    This will start to get interesting. I'm surprised it required new hardware, but oh well I don't use much NFC now except Apple Pay.
    watto_cobra
  • Reply 3 of 12
    It seems there is no backward compatibility, which sucks a lot. Whats the protocol and interface for those cities that allow iPhone NFC for public transit?
    watto_cobra
  • Reply 4 of 12
    I hope this makes using Apple Pay easier. I always freak out at the checkout line, forgetting how to bring it up, taking a bunch of photos, knocking stuff over, punching at least one person, and I end up having to turn the phone on and going into the Wallet app like a senior citizen. I just can’t get Apple Pay to work like it does in the videos. I still don’t know.
    JaiOh81
  • Reply 5 of 12
    I hope this makes using Apple Pay easier. I always freak out at the checkout line, forgetting how to bring it up, taking a bunch of photos, knocking stuff over, punching at least one person, and I end up having to turn the phone on and going into the Wallet app like a senior citizen. I just can’t get Apple Pay to work like it does in the videos. I still don’t know.
    Place your phone near the NFC reader. It doesn't have to be awake and the screen doesn't need to be on. It will detect NFC and Apple Pay will automatically come up.

    If you have Touch ID and your finger is on the reader, it authenticate immediately. It is very quick when used this way.

    watto_cobra
  • Reply 6 of 12
    Hm. Maybe you’re right. I’ll try not pressing anything. But I don’t get to knock stuff over or hit anyone then. :( 
    eugewatto_cobra
  • Reply 7 of 12
    I hope this makes using Apple Pay easier. I just can’t get Apple Pay to work like it does in the videos. I still don’t know.
    I use it on the Watch and it is near flawless every time at a store checkout POS terminal.
    watto_cobra
  • Reply 8 of 12
    euge said:
    I hope this makes using Apple Pay easier. I always freak out at the checkout line, forgetting how to bring it up, taking a bunch of photos, knocking stuff over, punching at least one person, and I end up having to turn the phone on and going into the Wallet app like a senior citizen. I just can’t get Apple Pay to work like it does in the videos. I still don’t know.
    Place your phone near the NFC reader. It doesn't have to be awake and the screen doesn't need to be on. It will detect NFC and Apple Pay will automatically come up.

    If you have Touch ID and your finger is on the reader, it authenticate immediately. It is very quick when used this way.
    Likewise you can do it just as quickly with Face ID — double-click the side button as you remove it from your pocket (the Apple Pay screen will pop up), look at it as you place it over the POS terminal, it will auth you as you do the motion. chimes, done. 

    Alternatively just place over the POS terminal, then look at it after it senses the POS. 

    either way, it’s not very complicated or burdensome. 
    watto_cobraurahara
  • Reply 9 of 12
    john.bjohn.b Posts: 2,742member
    Won’t this just make it easier for Target (or heaven forbid, Walmart) to use NFC beacons to automatically track your location as you walk through their stores?
  • Reply 10 of 12
    slurpyslurpy Posts: 5,382member
    I hope this makes using Apple Pay easier. I always freak out at the checkout line, forgetting how to bring it up, taking a bunch of photos, knocking stuff over, punching at least one person, and I end up having to turn the phone on and going into the Wallet app like a senior citizen. I just can’t get Apple Pay to work like it does in the videos. I still don’t know.
    I'm assuming this is a joke post, even beyond the obvious exaggerations. But in the small chance that it isn't, it literally could NOT be any easier to use Apple pay. 
    Here are the steps:

    1. Place thumb on fingerprint sensor (or use Face ID) and hold near terminal till it beeps. 
    2. There is no step 2. 

    The entire thing takes less than half a second and doesn't even require a button press. 
    watto_cobra
  • Reply 11 of 12
    asciiascii Posts: 5,936member
    I wonder if this is about Japan, I heard it was very widely used over there.
    watto_cobra
  • Reply 12 of 12
    john.b said:
    Won’t this just make it easier for Target (or heaven forbid, Walmart) to use NFC beacons to automatically track your location as you walk through their stores?
    This is actually what I’m hoping for as my company hosts multiple large conferences and we want to use beacons for easier navigation and for employee tracking so we can pair specific experts with clients. 
Sign In or Register to comment.