undefined no es una función (evaluando'_reactNavigation.NavigationActions.reset ')

Quiero navegar por una pantalla de bienvenida a la siguiente pantalla después de cierto tiempo de espera. La pantalla de bienvenida tiene una animación, realizada con la ayuda deAirbnb Lottie para React Native.

El código de la pantalla de presentación es el siguiente:

import React from "react";
import { Animated, Easing } from "react-native";
import LottieView from "lottie-react-native";
import { NavigationActions } from "react-navigation";

export default class SplashScreen extends React.Component {
  static navigationOptions = {
    header: null
  };

  constructor() {
    super();
    this.state = {
      progress: new Animated.Value(0),
    }
  }

  componentDidMount() {
    setTimeout(() => {
      this.navigateToWalkthrough()
    }, 3500);
    
    Animated.timing(this.state.progress, {
      toValue: 1,
      duration: 3000,
      easing: Easing.linear,
    }).start();
  }

  navigateToWalkthrough = () => {
    const navigateAction = NavigationActions.reset({
      index: 0,
      actions: [NavigationActions.navigate({ routeName: "Walkthrough" })],
    });

    this.props.navigation.dispatch(navigateAction);
  }

  render() {
    return(
      <LottieView 
      source={require("../assets/splash/SplashScreenAnimation.json")}
      progress={this.state.progress}
      />
    );
  }
}

Después de ejecutar la aplicación, aparecen los siguientes errores:

undefined is not a function (evaluating'_reactNavigation.NavigationActions.reset')

LosMain.jsl archivo @ tiene el siguiente aspecto:

import React from "react";
import { View, Text } from "react-native";
import { createStackNavigator } from "react-navigation";

import SplashScreen from "./screens/SplashScreen";
import Walkthrough from "./screens/Walkthrough";

const Routes = createStackNavigator({
  Home: {
    screen: SplashScreen
  },
  Walkthrough: {
    screen: Walkthrough
  }
});

export default class Main extends React.Component {
  render() {
    return <Routes />;
  }
}

¿Alguna ayuda / comentario?

Respuestas a la pregunta(2)

Su respuesta a la pregunta