From bbe13352b3de277014bb79ea49341647b5ea5842 Mon Sep 17 00:00:00 2001 From: Bahaa Jr Date: Wed, 9 Aug 2017 21:14:01 +0200 Subject: [PATCH] Updating Android RN 0.47 breaking change --- .../reactnative/splashscreen/SplashScreenPackage.java | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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(); }