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

@krish-dev/cordova-plugin-k-usb-nfc

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@krish-dev/cordova-plugin-k-usb-nfc

Cordova USB NFC card reader

  • 0.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

USB CCID NFC Reader Cordova plugin

Cordova plugin to communication with USB CCID NFC Reader via USB (OTG).

Platform Support

  • android

Tested Device

  • ACS ACR122U
  • HID OMNIKEY 5022 CL

Usage

How to add plugin

Type following command from CLI to add this plugin

    cordova plugin add cordova-plugin-k-usb-nfc

The plugin creates the object KUsbNfc into DOM.

Methods

  • KUsbNfc.connect
  • KUsbNfc.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

Package last updated on 27 Feb 2019

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