Victory-native: [Android] Animations disabled

Created on 29 Mar 2017  路  3Comments  路  Source: FormidableLabs/victory-native

Why disable animations for android? Noticed that all components override shouldAnimate to be false if os is "android":

  shouldAnimate() {
    return (Platform.OS === "android") ? false : Boolean(this.props.animate);
  }

Is there any plan to support animations for android soon?

Most helpful comment

@micchyboy @jlo1 They have been re-enabled if you update to the latest version.

All 3 comments

This was a hack we had to push in order to work around a crashing issue with react-native-svg/Fresco on Android. We have however now upgraded to react-native-svg and this may be fixed.

See original issue: https://github.com/FormidableLabs/victory-native/issues/27

I'll try to test if this issue still persists, and we can re-enable the animations on Android.

The animations are still not working on Android. Any updates on this?

@micchyboy @jlo1 They have been re-enabled if you update to the latest version.

Was this page helpful?
0 / 5 - 0 ratings