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, }
SunmiCardResult
{ uuid: string; }
SunmiCardDeviceModel
{ model: string, isP2: boolean, isP1N: boolean, isP2Lite: boolean, isP2Pro: boolean, isP14G: boolean, }