0.0.4 • Published 1 year ago
capacitor-plugin-sunmi-nfc v0.0.4
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; }>