Вы можете определить анимацию как состояние:
construstor(props){
super(props)
this.state = {
zoomAnimation = {
0: {
scale: 1
},
0.5: {
scale: 2
},
1: {
scale: 1
}
}
}
}
// then use it in the view
<Animatable.View animation = {this.state.zoomAnimation}>
<View>
// At first it works well but next no animation.
.......
</View>
</Animatable.View>
// when you want reset it, you call this.setState,
this.setState({
zoomAnimation = {
0: {
scale: 1
},
0.5: {
scale: 2
},
1: {
scale: 1
}
}
})