This is my code:
this.disappearA = Animated.timing(
this.state.leftA,
{
toValue: -WIDTH - OFFSET,
duration: DURATION,
easing: Easing.linear,
}
);
this.dispearA.start(() => {
this.dataIsA = false;
this.doing = false;
});
On my android phone, When screen is locked, this.dispeara.start's end callback is not be fired!
When screen is not locked, this.dispeara.start's callback Is called correctly
Why is that? how to solve this problem