title: React Navigation back() and goBack() not working
body: <p>I'm trying to go back two screens. The goal is to go from <code>EditPage</code> to <code>Cover</code>.  Here is my navigation stack:</p>
  
  
  
  <p><code>Main -&gt; Cover -&gt; EditCover -&gt; EditPage</code></p>
  
  <p>I read the docs and it says to supply a key of the screen you want to go back from, here's my code:</p>
  
  <pre class="lang-js prettyprint-override"><code>this.props.navigation.dispatch(NavigationActions.back({key: 'EditCover'}));
  </code></pre>
  
  <p>I've also tried (with no luck):</p>
  
  <pre class="lang-js prettyprint-override"><code>this.props.navigation.dispatch(NavigationActions.back('EditCover'));
  this.props.navigation.dispatch(NavigationActions.back({key: 'EditCover'}));
  this.props.navigation.dispatch(NavigationActions.back({routeName: 'EditCover'}));
  this.props.navigation.goBack('EditCover');
  this.props.navigation.goBack({key: 'EditCover'});
  this.props.navigation.goBack({routeName: 'EditCover'});
  </code></pre>
  
  <p>The funny thing about all this is that I get no errors.  Nothing happens when the code is called...</p>
  
  <p>P.S.  If I want to just go back one screen, this code works fine:</p>
  
  <pre class="lang-js prettyprint-override"><code>this.props.navigation.goBack(null);
  </code></pre>
  
  <p>P.S.S.  In case someone comes across this before there is a solution.  This hack works for now:</p>
  
  <pre class="lang-js prettyprint-override"><code>this.props.navigation.goBack(null);
  this.props.navigation.goBack(null);
  </code></pre>