Closed EmanuelDesarrollo closed 8 months ago
Performing the installation for a demo on Android after installing and trying to compile, the error shown in the image appeared:
\node_modules\react-native-nfc-manager\android\src\main\java\community\revteltech\nfc\Util.java:47: error: ';' expected json.put("canMakeReadOnly", JSONObject.NULL)
After going to the path shown in the error it is evident that a semicolon is indeed missing on the indicated line. After correcting this, it allows compiling without problems.
Versions: "react-native": "0.72.7", "react-native-nfc-manager": "^3.14.10"
"react-native": "0.72.7", "react-native-nfc-manager": "^3.14.10"
@EmanuelDesarrollo It's such a stupid error... I just fixed it and published v3.14.11. Thanks for reporting that!
v3.14.11
Performing the installation for a demo on Android after installing and trying to compile, the error shown in the image appeared:
\node_modules\react-native-nfc-manager\android\src\main\java\community\revteltech\nfc\Util.java:47: error: ';' expected json.put("canMakeReadOnly", JSONObject.NULL)
After going to the path shown in the error it is evident that a semicolon is indeed missing on the indicated line. After correcting this, it allows compiling without problems.
Versions:
"react-native": "0.72.7", "react-native-nfc-manager": "^3.14.10"