react-native-nfc-manager
react-native-nfc-manager copied to clipboard
Tag IDs returned big-endian on iOS and little-endian on Android
See the issue title. When an ISO-15693 tag is scanned using an Android NFC reader, the returned tag's ID is a hexadecimal string in little-endian notation. When the same tag is scanned using the same React Native program but compiled for iOS, the returned tag's ID is a hexadecimal string in big-endian notation.
This does not appear to be because the device itself is using big-endian notation. In testing, both devices are little-endian. So it appears to be a quirk with the NFC manager library. The solution, checking if the platform is OS and swapping endianness if so, is relatively simple but this may be something the maintainers wish to investigate since it produces inconsistent output across platforms.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
Is this repo still being maintained?
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
Still an issue as far as I know.