|
@@ -586,10 +586,6 @@ function dismissLightBox(params) {
|
586
|
586
|
Modal.dismissLightBox();
|
587
|
587
|
}
|
588
|
588
|
|
589
|
|
-async function getInitialProps() {
|
590
|
|
- return await ControllerRegistry.getInitialProps();
|
591
|
|
-}
|
592
|
|
-
|
593
|
589
|
function showInAppNotification(params) {
|
594
|
590
|
if (!params.screen) {
|
595
|
591
|
console.error('showInAppNotification(params): params.screen is required');
|
|
@@ -697,6 +693,10 @@ function _saveNavigatorButtonsPassProps(buttons = []) {
|
697
|
693
|
})
|
698
|
694
|
}
|
699
|
695
|
|
|
696
|
+async function getLaunchArgs() {
|
|
697
|
+ return await ControllerRegistry.getInitialProps();
|
|
698
|
+}
|
|
699
|
+
|
700
|
700
|
export default {
|
701
|
701
|
startTabBasedApp,
|
702
|
702
|
startSingleScreenApp,
|
|
@@ -726,5 +726,5 @@ export default {
|
726
|
726
|
showContextualMenu,
|
727
|
727
|
dismissContextualMenu,
|
728
|
728
|
getCurrentlyVisibleScreenId,
|
729
|
|
- getInitialProps
|
|
729
|
+ getLaunchArgs
|
730
|
730
|
};
|