Socket
Socket
Sign inDemoInstall

cordova-plugin-k-nfc-acr122u

Package Overview
Dependencies
2
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    cordova-plugin-k-nfc-acr122u

Cordova ACS acr122u nfc card reader


Version published
Weekly downloads
6
decreased by-14.29%
Maintainers
1
Install size
79.3 kB
Created
Weekly downloads
 

Readme

Source

ACS ACR122U NFC device PICC Cordova plugin

Cordova plugin to communication with ACR122U NFC devic via USB (OTG).

Platform Support

  • android

Usage

How to add plugin

Type following command from CLI to add this plugin

    cordova plugin add cordova-plugin-k-nfc-acr122u

The plugin creates the object KNfcAcr122U into DOM.

Methods

  • KNfcAcr122U.connect
  • KNfcAcr122U.disconnect

connect

Description

This method should call once while platform get ready. Once it get connected, then the device information will return into the success callback. Tag information also return into same success callback while tag is present into device.

Types

connect(
    callbackSuccess: (res: any) => void, 
    callbackError: (err: any) => void
    ): void;

disconnect

Description

This method should invoke to close the usb port for device.

Types

disconnect(
    callbackSuccess: (res: any) => void,
    callbackError: (err: any) => void
    ): void;

Keywords

FAQs

Last updated on 28 Sep 2018

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc