Hola, estoy usando animaciones de lottie por primera vez en react native, llegué a un punto en el que se reproduce la animación de lottie y cuando la animación termina con onAnimationFinish, debería navegar a una nueva página, funciona perfectamente en Android, pero cuando lo pruebo en ios, la animación se reproduce y, cuando finaliza, te deja en la misma página y onAnimationFinish no se activó.
const progress = useRef(new Animated.Value(0)).current; const handleLikeAnimation = () => { Animated.timing(progress, { toValue: 1, duration: 3000, useNativeDriver: true, }).start(); }; <View style={{justifyContent:'center', width, height}}> <LottieView style={{width:50, height:100, alignSelf:'center'}} progress={progress} source={require('../assets/lottie/loaderlottie.json')} autoPlay loop={false} onAnimationFinish={() => navigation.navigate("Leaderboard" , currentcomp)}></LottieView> </View>