react-native-secure-key-store icon indicating copy to clipboard operation
react-native-secure-key-store copied to clipboard

RNOSModule.java error: method does not override or implement a method from a supertype

Open shadrech opened this issue 7 years ago • 3 comments
trafficstars

screen shot 2018-03-28 at 10 49 26 Got this error when I tried running an app with your library. To resolve I had to delete Override declaration in RNOSModule.java line 31. Any ideas how to fix?

shadrech avatar Mar 28 '18 10:03 shadrech

@shadrech But log seems to point to react-native-os library. Please provide which version of library and react-native, ReactJs you have?

pradeep1991singh avatar Mar 28 '18 10:03 pradeep1991singh

react-native-secure-key-store: v1.0.9 react-native: v0.54.2 react: v16.3.0-alpha.3

Thanks @pradeep1991singh

shadrech avatar Mar 28 '18 10:03 shadrech

I've just hit this issue and have worked it out. "rn-nodeify --hack --install" installed version 1.0.1 of react-native-os and this particular issue has been resolved in version v1.2.6 with the comment "Fix RN v48 compatibility" So either update your version of react-native-os to at least 1.2.6 or roll back your react-native version to something earlier than v48

CliffBrewerVEC avatar Mar 09 '22 04:03 CliffBrewerVEC