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

Fix nfc #126

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

craftbyte
Copy link

The reference to the NFCHelper was being lost, making the NFC read never resolve. The code has been moved to the ViewController, which has a strong reference. I also improved the Text record type parsing, taking into account the payload locale and encoding flags, accepting only text record that begin with HC1. This allows for tags with multiple records and only returning the one containing a DCC.

Valuesets were never being downloadad, making rule validation fail
The reference to the NFCHelper was being lost, making the NFC read never resolve. The code has been moved to the ViewController, which has a strong reference. I also improved the Text record type parsing, taking into account the payload locale and encoding flags, accepting only text record that begin with HC1. This allows for tags with multiple records and only returning the one containing a DCC.
@craftbyte craftbyte requested a review from a team as a code owner December 25, 2021 19:50
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

Successfully merging this pull request may close these issues.

2 participants