|
@@ -17,6 +17,7 @@ import com.reactnativenavigation.params.TitleBarLeftButtonParams;
|
17
|
17
|
import com.reactnativenavigation.react.JsDevReloadHandler;
|
18
|
18
|
import com.reactnativenavigation.react.ReactGateway;
|
19
|
19
|
import com.reactnativenavigation.react.RedboxPermission;
|
|
20
|
+import com.reactnativenavigation.utils.IntentUtils;
|
20
|
21
|
|
21
|
22
|
import java.util.List;
|
22
|
23
|
|
|
@@ -43,11 +44,13 @@ public class NavigationActivity extends AppCompatActivity implements DefaultHard
|
43
|
44
|
|
44
|
45
|
if (!NavigationApplication.instance.isReactContextInitialized()) {
|
45
|
46
|
waitingForNewJsContext = true;
|
46
|
|
- recreate();
|
|
47
|
+ finish();
|
|
48
|
+ startActivity(IntentUtils.getLauncherIntent());
|
47
|
49
|
return;
|
48
|
50
|
}
|
49
|
51
|
|
50
|
52
|
RedboxPermission.permissionToShowRedboxIfNeeded(this);
|
|
53
|
+
|
51
|
54
|
activityParams = NavigationCommandsHandler.parseActivityParams(getIntent());
|
52
|
55
|
|
53
|
56
|
disableActivityShowAnimationIfNeeded();
|