undefined is not a function ('evaluating '_reactNativeRouterFlux...)
<p>I'm using <a href="https://github.com/aksonov/react-native-router-flux" rel="nofollow noreferrer"><code>react-native-router-flux</code></a> for navigation in ReactJS.
This is how I define scenes in my <strong>Router.js</strong> file</p>

<pre><code>import { Scene, Router, Actions } from 'react-native-router-flux';
    const RouterComponent = () =&gt; {
      return (
        &lt;Router&gt;
          &lt;Scene key="myMainScene"&gt;
            &lt;Scene key="chooseLevel" component={ChooseLevel} title="Select a level" /&gt;
            &lt;Scene key="quizPage" component={QuizPage} title="" /&gt;
          &lt;/Scene&gt;
        &lt;/Router&gt;
      );
    };
</code></pre>

<p>And this is my action creator :</p>

<pre><code>import { Actions } from 'react-native-router-flux';
    export const levelSelected = (levelNumber) =&gt; {
        return (dispatch) =&gt; {
            dispatch({type: LEVEL_SELECTED, payload: levelNumber});
            Actions.quizPage({ type: 'levelNumber' });
        };  
    };
</code></pre>

<p>In my action creator I'm trying to redirect user to another page (QuizPage component) but when I try the app on the device I get the red screen with this error message:</p>

<pre><code> undefined is not a function ('evaluating '_reactNativeRouterFlux.Actions.quizPage({type:'levelNumber'})')
</code></pre>