Skip to content

Commit

Permalink
fix: missing-radio-disabled-error
Browse files Browse the repository at this point in the history
  • Loading branch information
moony-chen committed Dec 6, 2023
1 parent 5f48b9c commit f5ed768
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/NfcError.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit f5ed768

Please sign in to comment.