New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cap-nfc-hexa

Package Overview
Dependencies
Maintainers
0
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cap-nfc-hexa

Plugin para leer y escribir NFC en Androi y iOS

  • 0.0.4
  • latest
  • Source
  • npm
  • Socket score

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

cap-nfc-hexa

Plugin para leer y escribir NFC en Androi y iOS

Install

npm install cap-nfc-hexa
npx cap sync

API

  • echo(...)
  • waitNFC()
  • startNfcListening()
  • handleOnNewIntent()
  • startScan()
  • Interfaces
  • Type Aliases

echo(...)

echo(options: { value: string; }) => Promise<{ value: string; }>
ParamType
options{ value: string; }

Returns: Promise<{ value: string; }>


waitNFC()

waitNFC() => Promise<void>

startNfcListening()

startNfcListening() => Promise<void>

handleOnNewIntent()

handleOnNewIntent() => Promise<void>

startScan()

startScan() => Promise<ScanResult>

Returns: Promise<ScanResult>


Interfaces

IScanResultWithContent
PropTypeDescriptionSince
hasContenttrueThis indicates whether or not the scan resulted in readable content. When stopping the scan with resolveScan set to true, for example, this parameter is set to false, because no actual content was scanned.1.0.0
contentstringThis holds the content of the nfc if available.1.0.0
cardTypestringThis holds the card type detected.1.0.0
cardNumberstringThis holds the card number detected.1.0.0
expiryDatestringThis holds the expiry date of the card detected.1.0.0
formatstringThis returns format of scan result.2.1.0
IScanResultWithoutContent
PropTypeDescriptionSince
hasContentfalseThis indicates whether or not the scan resulted in readable content. When stopping the scan with resolveScan set to true, for example, this parameter is set to false, because no actual content was scanned.1.0.0
contentThis holds the content of the nfc if available.1.0.0
formatThis returns format of scan result.2.1.0

Type Aliases

ScanResult

IScanResultWithContent | IScanResultWithoutContent

Keywords

FAQs

Package last updated on 25 Jun 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