capacitor-plugin-sunmi-nfc
This is a capacitor plugin to handle the nfc card
Install
npm install capacitor-plugin-sunmi-nfc
npx cap sync
API
echo(...)
echo(options: { value: string; }) => Promise<{ value: string; }>
Param | Type |
---|---|
options |
{ value: string; } |
Returns: Promise<{ value: string; }>
discoverNfcCard()
discoverNfcCard() => Promise<{ decId: string; reversedDecId: string; hexId: string; reversedHexId: string; }>
Returns: Promise<{ decId: string; reversedDecId: string; hexId: string; reversedHexId: string; }>