Skip to content

Commit

Permalink
feat(NfcManagerIOS): bind native session available methods
Browse files Browse the repository at this point in the history
  • Loading branch information
tastydev authored Jul 15, 2024
1 parent 0f06c0b commit 071569e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/NfcManagerIOS.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,12 @@ class NfcManagerIOS extends NfcManagerBase {
callNative('invalidateSessionWithError', [errorMessage]),
);

isSessionAvailableIOS = async () =>
handleNativeException(callNative('isSessionAvailable'));

isTagSessionAvailableIOS = async () =>
handleNativeException(callNative('isTagSessionAvailable'));

// -------------------------------------
// (iOS) NfcTech.MifareIOS API
// -------------------------------------
Expand Down

0 comments on commit 071569e

Please sign in to comment.