Skip to content

Commit

Permalink
Merge pull request #711 from biud436/main
Browse files Browse the repository at this point in the history
feat: add connect and close methods to NfcManager interface
  • Loading branch information
whitedogg13 authored Apr 25, 2024
2 parents d922755 + 9c6309a commit 070e02b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,8 @@ declare module 'react-native-nfc-manager' {
transceive(bytes: number[]): Promise<number[]>;
getMaxTransceiveLength(): Promise<number>;
setTimeout(timeout: number): Promise<void>;
connect: (techs: NfcTech[]) => Promise<void>;
close: () => Promise<void>;
mifareClassicHandlerAndroid: MifareClassicHandlerAndroid;
mifareUltralightHandlerAndroid: MifareUltralightHandlerAndroid;
ndefFormatableHandlerAndroid: NdefFormatableHandlerAndroid;
Expand Down

0 comments on commit 070e02b

Please sign in to comment.