A set of utilities that simplify the personalization process for the NTAG-424 class of NFC chips from NXP.
Implemented according to the NTAG-424 datasheet.
Supported functionality
yarn add react-native-ntag-424
crypto
moduleThis library depends heavily on functionality exposed by Node's crypto
module.
react-native-quick-crypto
is included as a dependency of this package - but you must follow the instructions here to properly configure your bundler.
This library depends heavily on the react-native-nfc-manager package for cross platform NFC hooks.
Please make sure you have followed these instructions to properly set up your project.
import Ntag424 from 'react-native-ntag-424';
import nfcManager from 'react-native-nfc-manager';
const ntag424 = new Ntag424(nfcManager);
// begin NFC scan
await ntag424.initialize();
const uid = await ntag424.getCardUid();
// complete NFC scan
await ntag424.terminate();
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
Made with create-react-native-library# react-native-ntag-424
Utilities that simplify integration with the NTAG-424 class of NFC chips from NXP.
Implemented according to the NTAG-424 datasheet
yarn add react-native-ntag-424
import Ntag424 from 'react-native-ntag-424';
import nfcManager from 'react-native-nfc-manager';
const ntag424 = new Ntag424(nfcManager);
// begin NFC scan
await ntag424.initialize();
const uid = await ntag424.getCardUid();
// complete NFC scan
await ntag424.terminate();
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
Made with create-react-native-library