From f5ed76881e9b4a40b7d7ac2e57bec0895d8916f1 Mon Sep 17 00:00:00 2001 From: Moony Chen Date: Wed, 6 Dec 2023 10:24:54 +0800 Subject: [PATCH] fix: missing-radio-disabled-error --- src/NfcError.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/NfcError.js b/src/NfcError.js index bb4c32b2..e7f4b764 100644 --- a/src/NfcError.js +++ b/src/NfcError.js @@ -95,6 +95,8 @@ export function buildNfcExceptionIOS(error) { return new InvalidParameterLength(); } else if (code === NfcErrorIOS.errCodes.parameterOutOfBound) { return new ParameterOutOfBound(); + } else if (code === NfcErrorIOS.errCodes.radioDisabled) { + return new RadioDisabled(); } else if (code === NfcErrorIOS.errCodes.tagConnectionLost) { return new TagConnectionLost(); } else if (code === NfcErrorIOS.errCodes.retryExceeded) {