NetTalk Central

Author Topic: Near Field Communication - Iphone and Android  (Read 1928 times)

rjolda

  • Sr. Member
  • ****
  • Posts: 315
    • View Profile
    • Email
Near Field Communication - Iphone and Android
« on: November 15, 2023, 01:40:37 AM »
Hi All,
Does Nettalk and PWA provide access to Near Field Communication?  I am trying to ascertain that the person at the kiosk location is actually the person who needs to be there - e.g. to pick up a key.  One way is to have the users phone read an NFC tag in the kiosk and report the results.  Is this something Net Talk can handle?  Other ways to verify the correct person at kiosk just using their cell phone - no screen on kiosk - just camera, maybe Near Field to read and maybe a numeric keypad?
Any thoughts?
TIA,
Ron Jolda 

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11242
    • View Profile
Re: Near Field Communication - Iphone and Android
« Reply #1 on: November 15, 2023, 11:55:14 PM »
What you're asking is if Browsers can do NFC using JavaScript.
The answer is "yes and no".

NFC support is browsers is _very_ young. There's a specified API, and it seems (at the time of writing this) to be supported in Chrome on Android, but not iOS. See https://developer.mozilla.org/en-US/docs/Web/API/Web_NFC_API for an updated support list.

There's no direct support for this in NetTalk - although of course it's straight-forward to incorporate other JavaScript libraries, or indeed your own custom JavaScript.

Cheers
Bruce