react-native-component/react-native-smart-alipay

createJSModules 最新版本react 方法已经被移除

liukefu2050 opened this issue · 1 comments

作者您好,
android 原生类:ReactNativeAppUpdatePackage 在最新版本react 会报编译错误。
在react-native-component其他的项目也存在相同问题,能否全部更新一下,适应最新版本的react
编译错误如下:
node_modules\react-native-smart-barcode\android\src\main\java\com\reactnativecomponent\barcode\RCTCapturePackage.java:41: 错误: 方法不会覆盖或实现超类型的方法
@OverRide
^
注: 某些输入文件使用或覆盖了已过时的 API。
注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
1 个错误
:react-native-smart-barcode:compileReleaseJavaWithJavac FAILED

项目:
react-native-smart-amap
react-native-smart-barcode
react-native-smart-alipay
react-native-smart-amap-location