Daniel Zlotin 7 年前
父节点
当前提交
b80e53ee37
共有 1 个文件被更改,包括 5 次插入5 次删除
  1. 5
    5
      src/deprecated/platformSpecificDeprecated.ios.js

+ 5
- 5
src/deprecated/platformSpecificDeprecated.ios.js 查看文件

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