Animation Completion Called Twice (finished = false then finished = true) #1983
Unanswered
john-brunelle
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
We are running a new animation in one of our apps and I am seeing that during the animation the completion block is being called with finished = false. This is somewhere around mid-point of the animation. A short while later the completion block is called again with a finished = true. (Note that the animation seems to run fine all the way to the end) Since the animation is presented during a cold start open I am sending the user on into the app after the completion block is called so as to not trap the using on the animation. (Which results in the animation only half completing). Also note that we have many apps with many opening animation so we need to have this run in a generic way.
My main question is, is there any reason why the completion block would be called twice during an animation. My main concern is trapping the user on the animation during app open on the animation. This is the first time that I have see this in one of our animations.
Any help would be of much appreciation. Thank you kindly in advance.
Bru
Lottie Version: 4.0.1
Xcode Version: 14.0.1
iOS Version: 14
Code:
Beta Was this translation helpful? Give feedback.
All reactions