Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

362
Views
Reaccionar animaciones nativas de Lottie onAnimationFinish no funciona en ios

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>
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!