Daniel Zlotin 6 years ago
parent
commit
b80e53ee37
1 changed files with 5 additions and 5 deletions
  1. 5
    5
      src/deprecated/platformSpecificDeprecated.ios.js

+ 5
- 5
src/deprecated/platformSpecificDeprecated.ios.js View File

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
 };