sunmi-card-reader
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

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

Prop Type
message string

Type Aliases

PluginCallback

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

SunmiCardDeviceModel

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

### Type Aliases

SunmiCardResult

{ uuid: string; }

SunmiCardDeviceModel

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

Readme

Keywords

Package Sidebar

Install

npm i sunmi-card-reader

Weekly Downloads

3

Version

1.1.0

License

Apache-2.0

Unpacked Size

557 kB

Total Files

35

Last publish

Collaborators

  • tawfiek
  • sparepayments