Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NFC scanning an empty tag produces no visible results #103

Open
fidian opened this issue Jan 3, 2024 · 0 comments
Open

NFC scanning an empty tag produces no visible results #103

fidian opened this issue Jan 3, 2024 · 0 comments

Comments

@fidian
Copy link

fidian commented Jan 3, 2024

This is especially confusing when you are using a phone to test if this feature is something you want to include in a project. Your phone will possibly make a noise or vibrate as though it scanned a tag but nothing is displayed on the screen if there are no NDEF records.

An easy fix would be to display the serial number of the NFC tag, just like how Google Chrome's demo page does it.

https://googlechrome.github.io/samples/web-nfc/

I did look into adding this feature myself, but I found that running "npm install" did not correctly install node-sass, which appears to be unused. When I tried to install things after that, many libraries were out of date and complained, so I started bumping them to the newest versions (plus the rollup plugins are now mostly @rollup/plugin-...), but then needed to update sapper and that has not been updated in the last several years.

I dislike pull requests that aren't tested, so I finally decided that this would just be an issue instead of a fix. If this project does get updated so it cleanly installs then I would happily add the NFC changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant