react-native-nfc-manager 3.14.11 → 3.14.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/NfcError.js +2 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-nfc-manager",
3
- "version": "3.14.11",
3
+ "version": "3.14.12",
4
4
  "description": "A NFC module for react native.",
5
5
  "main": "src/index.js",
6
6
  "repository": {
package/src/NfcError.js CHANGED
@@ -95,6 +95,8 @@ export function buildNfcExceptionIOS(error) {
95
95
  return new InvalidParameterLength();
96
96
  } else if (code === NfcErrorIOS.errCodes.parameterOutOfBound) {
97
97
  return new ParameterOutOfBound();
98
+ } else if (code === NfcErrorIOS.errCodes.radioDisabled) {
99
+ return new RadioDisabled();
98
100
  } else if (code === NfcErrorIOS.errCodes.tagConnectionLost) {
99
101
  return new TagConnectionLost();
100
102
  } else if (code === NfcErrorIOS.errCodes.retryExceeded) {