|
|
|
|
17
|
import com.reactnativenavigation.react.JsDevReloadHandler;
|
17
|
import com.reactnativenavigation.react.JsDevReloadHandler;
|
18
|
import com.reactnativenavigation.react.ReactGateway;
|
18
|
import com.reactnativenavigation.react.ReactGateway;
|
19
|
import com.reactnativenavigation.react.RedboxPermission;
|
19
|
import com.reactnativenavigation.react.RedboxPermission;
|
20
|
-import com.reactnativenavigation.utils.IntentUtils;
|
|
|
21
|
|
20
|
|
22
|
import java.util.List;
|
21
|
import java.util.List;
|
23
|
|
22
|
|
|
|
|
|
44
|
|
43
|
|
45
|
if (!NavigationApplication.instance.isReactContextInitialized()) {
|
44
|
if (!NavigationApplication.instance.isReactContextInitialized()) {
|
46
|
waitingForNewJsContext = true;
|
45
|
waitingForNewJsContext = true;
|
47
|
- finish();
|
|
|
48
|
- startActivity(IntentUtils.getLauncherIntent());
|
|
|
|
|
46
|
+ recreate();
|
49
|
return;
|
47
|
return;
|
50
|
}
|
48
|
}
|
51
|
|
49
|
|
52
|
RedboxPermission.permissionToShowRedboxIfNeeded(this);
|
50
|
RedboxPermission.permissionToShowRedboxIfNeeded(this);
|
53
|
-
|
|
|
54
|
activityParams = NavigationCommandsHandler.parseActivityParams(getIntent());
|
51
|
activityParams = NavigationCommandsHandler.parseActivityParams(getIntent());
|
55
|
|
52
|
|
56
|
createLayout();
|
53
|
createLayout();
|