title: React Native Navigation on Restart
body: <p>I am using the react-native-restart library for restarting the app so I can change the app language in the runtime.
  After I restart the app I want to change the first StackNavigator screen in the react-navigation library after restarting the app.</p>
  
  <p>Navigator class is like this</p>
  
  <pre><code>import Screen1 from './Screen1'
  import Screen2 from './Screen2'
  import Screen3 from './Screen3'
  import {StackNavigator} from 'react-navigation';
  
  const Navigator = StackNavigator({
      Screen1: {
          screen: Screen1
      },
      Screen2: {
          screen: Screen2
      },
      Screen3: {
          screen: Screen3
      }
  });
  
  export default Navigator;
  </code></pre>
  
  <p>in screen 2 I change the language and restart the app by the following function:</p>
  
  <pre><code>_onDirectionChange = () =&gt; {
        I18nManager.forceRTL(true);
        // Immediately reload the React Native Bundle
        RNRestart.Restart();  }
  </code></pre>