title: Navigator this.props.navigator.push
body: <p>I can't seem to make my routing work in my react native app.</p>
  
  <p>I have the following setup in a index.android.js:</p>
  
  <pre class="lang-js prettyprint-override"><code>class MainClass extends Component {
  
  render() {
      return NavigationService.navigationSetup();
  }
  </code></pre>
  
  <p>and in NavigationService</p>
  
  <pre class="lang-js prettyprint-override"><code>var React = require('react-native');
  var Login = require('./login/Login');
  var ProjectList = require('./project/list/ProjectList');
  var ProjectView = require('./project/view/ProjectView');
  
  var {
      Navigator
  } = React;
  
  var renderScene = function (route, navigator) {
  
  var routeId = route.id;
  
  if (routeId === 'Login') {
      return (&lt;Login {...route.passProps} navigator={navigator} /&gt;);
  }
  
  if (routeId === 'ProjectList') {
      return (&lt;ProjectList {...route.passProps} navigator={navigator} /&gt;);
  }
  
  if (routeId === 'ProjectView') {
      return (&lt;ProjectView {...route.passProps} navigator={navigator} projectId={route.passProps.projectId} /&gt;);
  }
  };
  
  var navigationSetup = function () {
  return (
      &lt;Navigator
          initialRoute={{id: 'Login', component:Login}}
          renderScene={renderScene.bind(this)}
      /&gt;
  );
  };
  
  module.exports = {
      navigationSetup: navigationSetup
  };
  </code></pre>
  
  <p>and in ProjectListView:</p>
  
  <pre class="lang-js prettyprint-override"><code>   this.props.navigator.push({
          id: 'ProjectView',
          passProps: {
              projectId: projectId
          }
      });
  </code></pre>
  
  <p>The routing from Login to ProjectList works. But when I try to via a list click navigate to ProjectView I get: </p>
  
  <pre><code>undefined is not an object (evaluating this.props.navigator.push). 
  </code></pre>
  
  <p>I've looked at guides and tried different things but it seems that navigator isn't there ...</p>
  
  <p>Would be great if someone could help me out.</p>
  
  <p>Also another question: routing/navigation does not work from me when I enable debugging in Chrome (using Genymotion), is that normal?! 
  Tried different projects ...</p>
  
  <p>Cheers
  Niclas</p>