code ./node_modules/react-native/React/Base/RCTModuleMethod.mm
Replace
return RCTReadString(input, "__unused") ||
RCTReadString(input, "attribute((unused))");
To
return RCTReadString(input, "attribute((unused))") ||
RCTReadString(input, "attribute((unused))") ||
RCTReadString(input, "__unused");
网友评论