diff --git a/android/src/main/java/com/mehcode/reactnative/splashscreen/SplashScreenPackage.java b/android/src/main/java/com/mehcode/reactnative/splashscreen/SplashScreenPackage.java index d3bbcd9..5c86dbc 100644 --- a/android/src/main/java/com/mehcode/reactnative/splashscreen/SplashScreenPackage.java +++ b/android/src/main/java/com/mehcode/reactnative/splashscreen/SplashScreenPackage.java @@ -7,7 +7,6 @@ import android.support.v4.content.LocalBroadcastManager; import com.facebook.react.ReactPackage; -import com.facebook.react.bridge.JavaScriptModule; import com.facebook.react.bridge.NativeModule; import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.react.uimanager.ViewManager; @@ -17,12 +16,9 @@ import java.util.List; public class SplashScreenPackage implements ReactPackage { - @Override - public List> createJSModules() { - return Collections.emptyList(); - } + - // Deprecated RN 0.47 + @Override public List createViewManagers(ReactApplicationContext reactContext) { return Collections.emptyList(); }