ソースを参照

Fix splash screen not getting dismissed when app returns to forground

Guy Carmeli 8 年 前
コミット
c5ebbfba75
共有1 個のファイルを変更した1 個の追加4 個の削除を含む
  1. 1
    4
      android/app/src/main/java/com/reactnativenavigation/controllers/SplashActivity.java

+ 1
- 4
android/app/src/main/java/com/reactnativenavigation/controllers/SplashActivity.java ファイルの表示

24
         super.onResume();
24
         super.onResume();
25
 
25
 
26
         if (NavigationApplication.instance.getReactGateway().hasStartedCreatingContext()) {
26
         if (NavigationApplication.instance.getReactGateway().hasStartedCreatingContext()) {
27
-            if (DeepLinkHandler.hasDeepLinkData()) {
28
-                finish();
29
-            }
30
-            return;
27
+            finish();
31
         }
28
         }
32
 
29
 
33
         if (ReactDevPermission.shouldAskPermission()) {
30
         if (ReactDevPermission.shouldAskPermission()) {