1.1.0 • Published 2 years ago

sunmi-card-reader v1.1.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 years ago

sunmi-p2-card-reader

This a plugin to integrate with sunmi payment SDK and work with the NFC card reader, test on Sunmi P2 only

Supported Devices:

  • Sunmi P2 (Tested on this model only).
  • Sunmi P1N.
  • Sunmi P2Lite.
  • Sunmi P2Pro.
  • Sunmi P14G.

Install

npm install @capacitor-community/sunmi-card-reader
npx cap sync

API

Interfaces

PluginResultData

PluginResultError

PropType
messagestring

Type Aliases

PluginCallback

(data: PluginResultData, error?: PluginResultError): void

SunmiCardDeviceModel

{ model: string, isP2: boolean, isP1N: boolean, isP2Lite: boolean, isP2Pro: boolean, isP14G: boolean, }

SunmiCardResult

{ uuid: string; }

SunmiCardDeviceModel

{ model: string, isP2: boolean, isP1N: boolean, isP2Lite: boolean, isP2Pro: boolean, isP14G: boolean, }

1.1.0

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago