NOtherDev / whatwebcando

An overview of the device integration HTML5 APIs
https://whatwebcando.today/
MIT License
836 stars 61 forks source link

WebNFC API - things I've discovered which took hours to unravel #55

Closed boatbodger closed 4 years ago

boatbodger commented 5 years ago

Two things: When using WebNFC, the namespace will only appear when the javascript is served via https:// If you try to put it in a web site URL starting http:// it is hidden. It would be very helpful to have this mentioned in the "how to" part of NFC on this web page.

Also, in Chrome, the newer version (Canary, version 78) has renamed the facilities. They are now NFCReader() and NFCWriter() at the top global level, not buried under navigator.nfc

Hope this saves some other folks a few hours of head-scratching

NOtherDev commented 5 years ago

Thanks, that's helpful! I'm planning to review all the content pretty soon, so I'll make sure this is included. Will let you know!

NOtherDev commented 4 years ago

Included in the newest update from @beaufortfrancois - see NFC. Thanks @boatbodger.