Skip to content

0.5.0

Choose a tag to compare

@oblador oblador released this 31 Jan 23:09
· 118 commits to master since this release

Breaking change:

  • Promises are no longer rejected when they are cancelled. This is because React Native now will show a red screen for any unhandled rejected promise by default. To determine wether the animation was cancelled or completed, use the returned endState object; this.refs.view.bounce(800).then((endState) => console.log(endState.finished ? 'bounce finished' : 'bounce cancelled'))

Other changes:

  • Adds onAnimationBegin prop.
  • Removes react-native from peer dependencies, make sure your application has this as an explicit dependency.
  • Fixes bug where slide animations would throw errors.