auth0 / react-native-lock

[DEPRECATED] A wrapper of Lock to use with React Native (iOS & Android)
MIT License
277 stars 77 forks source link

Android: Error compiling LockReactPackage due to a breaking change in RN 0.47 #173

Open psam44 opened 7 years ago

psam44 commented 7 years ago

version 0.6.0.

[...]\node_modules\react-native-lock\android\src\main\java\com\auth0\lock\react\
LockReactPackage.java:146:
error: method does not override or implement a method from a supertype
    @Override

Reference is https://github.com/facebook/react-native/releases/tag/v0.47.0

As of 0.47, the fix is to remove import com.facebook.react.bridge.JavaScriptModule; and the createJSModules() function (not used anymore).