Possible performance issues on Android
After testing the library around I noticed that there is a possibility for a transition of being slow or laggy. This is an issue mostly in old android phones, but newer ones could present the issue to a lesser degree.
I wonder, what could be done to improve the performance of the animations.
I did a demo inside my expo app and it slowed down the app significantly.
Thanks a lot for your feedback, @sibelly. I haven't tried it myself using Expo, but we can take a look. Can you please share the versions of react, react-native, and react-native-svg you used? Thanks!
react-native -> 0.68.2
react-native-svg -> 12.3.0
expo -> ~45.0.0
Any updates on this issue @JoseLion ?
Sorry for the late response. We're working on a new release that solves a few issues, and performance in animations is among them. For the next release, we reworked the animation flow to make it more robust and include some react-based optimizations. You'll also be able to choose whether or not to use the native driver (on each OS) to run the animations, giving you more control to solve possible animation performance issues.
We're on the final steps to ship this new release, so thank you for your patience and for using this library! 🙂
I'm happy to announce that v2.0.0 is out! It'd be great to get some feedback on its performance on Android devices on this new version. Thank you all in advance! 🙂
Closing since the issue is stale and the performance problems were resolved on v2.0.0. Please open a separate issue if anyone encounters this problem again.