aminebenkeroum / toggle-switch-react-native

Toggle Switch React Native Component works on both iOS and Android
MIT License
235 stars 70 forks source link

Use `useNativeDriver` for the animations? #25

Closed ghost closed 4 years ago

aminebenkeroum commented 5 years ago

Great idea! I will be implementing it soon.

maximilize commented 4 years ago

The missing property useNativeDriveris now causing a warning in react-native.

Animated: `useNativeDriver` was not specified. This is a required option and must be explicitly set to `true` or `false`
jstarmx commented 4 years ago

I see this has been fixed a few months ago in the codebase, any chance of a new release so we can use it please? 🙂

Northshoot commented 4 years ago

Any update on this? Can it be released?

aminebenkeroum commented 4 years ago

It's released

jstarmx commented 4 years ago

Fantastic, thanks @aminebenkeroum!

mike-niemand commented 4 years ago

Thanks for this component.

I'm still getting this error on 2.2.0?

BrijeshPandya-j2 commented 4 years ago

I am still getting this warning Animated: useNativeDriver was not specified. This is a required option and must be explicitly set to true or false I am using latest version of this package which is 2.2.0 and React Native version is 0.62.2

jstarmx commented 4 years ago

Yes I see the fix had been removed when release 2.2.0 was created, and has since been reinstated, if you could make an updated release please when you can @aminebenkeroum?

Screenshot 2020-09-09 at 15 57 57