diff --git a/android/src/main/java/com/auth0/lock/react/LockReactPackage.java b/android/src/main/java/com/auth0/lock/react/LockReactPackage.java index 29a7e03..bad527f 100644 --- a/android/src/main/java/com/auth0/lock/react/LockReactPackage.java +++ b/android/src/main/java/com/auth0/lock/react/LockReactPackage.java @@ -139,13 +139,9 @@ public List createNativeModules(ReactApplicationContext reactConte return modules; } - /** - * NOT USED. This is a required override - * @see ReactPackage - */ - @Override - public List> createJSModules() { - return new ArrayList<>(); + // Required @Override for React Native v0.46.x and lower + public List> createJSModules() { + return new ArrayList<>(); } /**