react-native-ntag-424

:star: react-native-ntag-424

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

  • :unlock: Authentication and session management
  • :key: Updating encryption keys
  • :file_folder: Reading and writing data file data
  • :calling: Configuring SDM and SUN

Getting Started

Installation


yarn add react-native-ntag-424

Polyfilling the crypto module

This 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.

Peer Dependencies

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.

Usage

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();

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

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

Installation


yarn add react-native-ntag-424

Usage

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();

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Made with create-react-native-library