From c0c10d78672621ef989dfefd02b3d381f567ef40 Mon Sep 17 00:00:00 2001 From: feruz Date: Wed, 29 Jul 2020 11:17:39 +0300 Subject: [PATCH] remove splash android --- .../app/esteem/mobile/android/MainActivity.java | 7 ------- .../app/src/main/res/layout/launch_screen.xml | 6 ------ .../app/src/main/res/values/colors-splash.xml | 4 ---- android/app/src/main/res/values/styles.xml | 3 --- ios/Podfile.lock | 10 +++++----- package.json | 4 ++-- yarn.lock | 17 ++++++----------- 7 files changed, 13 insertions(+), 38 deletions(-) delete mode 100644 android/app/src/main/res/layout/launch_screen.xml delete mode 100644 android/app/src/main/res/values/colors-splash.xml diff --git a/android/app/src/main/java/app/esteem/mobile/android/MainActivity.java b/android/app/src/main/java/app/esteem/mobile/android/MainActivity.java index 53680a2e5..9fb8d522a 100644 --- a/android/app/src/main/java/app/esteem/mobile/android/MainActivity.java +++ b/android/app/src/main/java/app/esteem/mobile/android/MainActivity.java @@ -1,18 +1,11 @@ package app.esteem.mobile.android; -import android.os.Bundle; -import org.devio.rn.splashscreen.SplashScreen; import com.facebook.react.ReactActivity; import com.facebook.react.ReactActivityDelegate; import com.facebook.react.ReactRootView; import com.swmansion.gesturehandler.react.RNGestureHandlerEnabledRootView; public class MainActivity extends ReactActivity { - @Override - protected void onCreate(Bundle savedInstanceState) { - SplashScreen.show(this, R.style.SplashScreenTheme); - super.onCreate(savedInstanceState); - } /** * Returns the name of the main component registered from JavaScript. This is * used to schedule rendering of the component. diff --git a/android/app/src/main/res/layout/launch_screen.xml b/android/app/src/main/res/layout/launch_screen.xml deleted file mode 100644 index 7ec70ce1e..000000000 --- a/android/app/src/main/res/layout/launch_screen.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - \ No newline at end of file diff --git a/android/app/src/main/res/values/colors-splash.xml b/android/app/src/main/res/values/colors-splash.xml deleted file mode 100644 index cfd803b39..000000000 --- a/android/app/src/main/res/values/colors-splash.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - #FFFFFF - diff --git a/android/app/src/main/res/values/styles.xml b/android/app/src/main/res/values/styles.xml index 7beadb93f..d3f9f9c45 100644 --- a/android/app/src/main/res/values/styles.xml +++ b/android/app/src/main/res/values/styles.xml @@ -1,7 +1,4 @@ -