|  | @@ -4,7 +4,7 @@ import _ from 'lodash';
 | 
	
		
			
			| 4 | 4 |  
 | 
	
		
			
			| 5 | 5 |  import Navigation from './Navigation';
 | 
	
		
			
			| 6 | 6 |  
 | 
	
		
			
			| 7 |  | -NativeBridge = NativeModules.NavigationReactModule;
 | 
	
		
			
			|  | 7 | +const NativeReactModule = NativeModules.NavigationReactModule;
 | 
	
		
			
			| 8 | 8 |  
 | 
	
		
			
			| 9 | 9 |  const resolveAssetSource = require('react-native/Libraries/Image/resolveAssetSource');
 | 
	
		
			
			| 10 | 10 |  
 | 
	
	
		
			
			|  | @@ -15,43 +15,47 @@ function startApp(activityParams) {
 | 
	
		
			
			| 15 | 15 |      return;
 | 
	
		
			
			| 16 | 16 |    }
 | 
	
		
			
			| 17 | 17 |  
 | 
	
		
			
			| 18 |  | -  NativeBridge.startApp(activityParams);
 | 
	
		
			
			|  | 18 | +  NativeReactModule.startApp(activityParams);
 | 
	
		
			
			| 19 | 19 |  }
 | 
	
		
			
			| 20 | 20 |  
 | 
	
		
			
			| 21 | 21 |  function push(screenParams) {
 | 
	
		
			
			| 22 |  | -  NativeBridge.push(screenParams);
 | 
	
		
			
			|  | 22 | +  NativeReactModule.push(screenParams);
 | 
	
		
			
			| 23 | 23 |  }
 | 
	
		
			
			| 24 | 24 |  
 | 
	
		
			
			| 25 | 25 |  function pop(screenParams) {
 | 
	
		
			
			| 26 |  | -  NativeBridge.pop(screenParams);
 | 
	
		
			
			|  | 26 | +  NativeReactModule.pop(screenParams);
 | 
	
		
			
			| 27 | 27 |  }
 | 
	
		
			
			| 28 | 28 |  
 | 
	
		
			
			| 29 | 29 |  function popToRoot(screenParams) {
 | 
	
		
			
			| 30 |  | -  NativeBridge.popToRoot(screenParams);
 | 
	
		
			
			|  | 30 | +  NativeReactModule.popToRoot(screenParams);
 | 
	
		
			
			| 31 | 31 |  }
 | 
	
		
			
			| 32 | 32 |  
 | 
	
		
			
			| 33 | 33 |  function newStack(screenParams) {
 | 
	
		
			
			| 34 |  | -  NativeBridge.newStack(screenParams);
 | 
	
		
			
			|  | 34 | +  NativeReactModule.newStack(screenParams);
 | 
	
		
			
			| 35 | 35 |  }
 | 
	
		
			
			| 36 | 36 |  
 | 
	
		
			
			| 37 | 37 |  function toggleTopBarVisible(screenInstanceID, visible, animated) {
 | 
	
		
			
			| 38 |  | -  NativeBridge.setTopBarVisible(screenInstanceID, visible, animated);
 | 
	
		
			
			|  | 38 | +  NativeReactModule.setTopBarVisible(screenInstanceID, visible, animated);
 | 
	
		
			
			| 39 | 39 |  }
 | 
	
		
			
			| 40 | 40 |  
 | 
	
		
			
			| 41 | 41 |  function setScreenTitleBarTitle(screenInstanceID, title) {
 | 
	
		
			
			| 42 |  | -  NativeBridge.setScreenTitleBarTitle(screenInstanceID, title);
 | 
	
		
			
			|  | 42 | +  NativeReactModule.setScreenTitleBarTitle(screenInstanceID, title);
 | 
	
		
			
			| 43 | 43 |  }
 | 
	
		
			
			| 44 | 44 |  
 | 
	
		
			
			| 45 | 45 |  function setScreenTitleBarButtons(screenInstanceID, navigatorEventID, buttons) {
 | 
	
		
			
			| 46 |  | -  NativeBridge.setScreenTitleBarButtons(screenInstanceID, navigatorEventID, buttons);
 | 
	
		
			
			|  | 46 | +  NativeReactModule.setScreenTitleBarButtons(screenInstanceID, navigatorEventID, buttons);
 | 
	
		
			
			| 47 | 47 |  }
 | 
	
		
			
			| 48 | 48 |  
 | 
	
		
			
			| 49 | 49 |  function showModal(screenParams) {
 | 
	
		
			
			| 50 |  | -  NativeBridge.showModal(screenParams);
 | 
	
		
			
			|  | 50 | +  NativeReactModule.showModal(screenParams);
 | 
	
		
			
			| 51 | 51 |  }
 | 
	
		
			
			| 52 | 52 |  
 | 
	
		
			
			| 53 | 53 |  function dismissTopModal() {
 | 
	
		
			
			| 54 |  | -  NativeBridge.dismissTopModal();
 | 
	
		
			
			|  | 54 | +  NativeReactModule.dismissTopModal();
 | 
	
		
			
			|  | 55 | +}
 | 
	
		
			
			|  | 56 | +
 | 
	
		
			
			|  | 57 | +function dismissAllModals() {
 | 
	
		
			
			|  | 58 | +  NativeReactModule.dismissAllModals();
 | 
	
		
			
			| 55 | 59 |  }
 | 
	
		
			
			| 56 | 60 |  
 | 
	
		
			
			| 57 | 61 |  module.exports = {
 | 
	
	
		
			
			|  | @@ -64,5 +68,6 @@ module.exports = {
 | 
	
		
			
			| 64 | 68 |    setScreenTitleBarTitle,
 | 
	
		
			
			| 65 | 69 |    setScreenTitleBarButtons,
 | 
	
		
			
			| 66 | 70 |    showModal,
 | 
	
		
			
			| 67 |  | -  dismissTopModal
 | 
	
		
			
			|  | 71 | +  dismissTopModal,
 | 
	
		
			
			|  | 72 | +  dismissAllModals
 | 
	
		
			
			| 68 | 73 |  };
 |