react-native-spotlight-tour icon indicating copy to clipboard operation
react-native-spotlight-tour copied to clipboard

Possible performance issues on Android

Open Alex0jk opened this issue 4 years ago • 6 comments

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.

Alex0jk avatar Jul 05 '21 21:07 Alex0jk

I did a demo inside my expo app and it slowed down the app significantly.

sibelly avatar Jul 07 '22 13:07 sibelly

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!

JoseLion avatar Jul 07 '22 16:07 JoseLion

react-native -> 0.68.2
react-native-svg -> 12.3.0
expo -> ~45.0.0

sibelly avatar Jul 22 '22 20:07 sibelly

Any updates on this issue @JoseLion ?

tragicmj avatar Aug 02 '22 08:08 tragicmj

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! 🙂

JoseLion avatar Nov 08 '22 21:11 JoseLion

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! 🙂

JoseLion avatar Nov 10 '22 22:11 JoseLion

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.

JoseLion avatar Apr 24 '23 20:04 JoseLion