Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-native-izota-nfc-sdk

Package Overview
Dependencies
Maintainers
0
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-izota-nfc-sdk

react native nfc sdk

  • 0.1.14
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-94.29%
Maintainers
0
Weekly downloads
 
Created
Source

react-native-izota-nfc-sdk

react native izota nfc sdk

Installation

npm install react-native-izota-nfc-sdk

Usage

import { callNativeScanNFC, initIZOTANFCSdk } from 'react-native-izota-nfc-sdk';

// ...

    useEffect(() => {
        const publicKey = 'YOUR_PUBLIC_KEY'
        initIZOTANFCSdk(publicKey)
    }, [])

 /**
   * 
   * @param documentId 9 số cuối trong trường số CCCD
   * @param dateOfBirth ngày tháng năm của ngày sinh theo format yyMMdd
   * @param dateOfEnd ngày tháng năm của trường ngày hết hạn theo format yyMMdd
   * @param errorCallback Callback khi quét NFC thất bại
   * @param successCallback Callback khi quét NFC thành công.
   * @returns
   */
  async function startScanNFC(documentId, dateOfBirth, dateOfend, errorCallback, successCallback) {
    callNativeScanNFC(documentId, dateOfBirth, dateOfend, errorCallback, successCallback);
  }

Contributing

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

License

MIT


Keywords

FAQs

Package last updated on 30 Aug 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc