I want to use the NFC Plugin to get the ID from a Tag. I installed it and implemented the Eventlistener which I need.
To this point everything works. My events trigger like they should and i’m able to read the Tag.
I need the ID in hex and after checking the tag.id I noticed that the id contains only numerical values so i tryed to convert it to hex with
But then i realised that the id contains negative values which makes me a bit confused. Shouldn’t there be just positive values? Or is that id formatted or encrypted in any way?
When I’m checking the tag with my TagInfo app the ID is a normal Hex Tag-ID.
Sorry if this question is a bit dumb but I’m completly new to NFC and RFID tags and i can’t find any usefull example for reading tags in Ionic2…
Would be great if some of you could tell me how to get the right Tag ID.