Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

useNativeDriver in Animated is required (RN v0.62) #974

Closed
sakhnyuk opened this issue Mar 30, 2020 · 10 comments
Closed

useNativeDriver in Animated is required (RN v0.62) #974

sakhnyuk opened this issue Mar 30, 2020 · 10 comments

Comments

@sakhnyuk
Copy link

🐛 Bug Report

Animated require useNativeDriver option in react-native v0.62

To Reproduce

Just trying to use BottomNavigation with animated Indicator (appearance="default")

useNativeDriver_warn

warn_logs

UI Kitten and Eva version

Package Version
@eva-design/eva v1.4.0
@ui-kitten/components v4.4.1
@abdulhamidOumer
Copy link

abdulhamidOumer commented Mar 31, 2020

Getting the same issue on react native 0.62.0 as well. This also happens in select component and TabView as well. @sakhnyuk did you find a way to resolve this yet ? I am getting more than 20 warning occurrences when changing a tab

@artyorsh
Copy link
Collaborator

@abdulhamidOumer
unfortunately, this is required by rn 0.62 meaning now, to fix UI Kitten warnings, you can deal with it only with YellowBox :(
We’ll include this in future release.

@SaveYourTime
Copy link

SaveYourTime commented Apr 7, 2020

Same error occurs on NativeBase.
All instances of Animated.timing or Animated.spring need to add useNativeDriver with true or false.

https://stackoverflow.com/questions/61014661/animated-usenativedriver-was-not-specified-issue-of-reactnativebase-input
GeekyAnts/NativeBase#3109

@artyorsh artyorsh mentioned this issue Apr 8, 2020
Merged
2 tasks
@luutruong
Copy link

I have make a PR this fix this: #995

@artyorsh artyorsh closed this as completed Apr 8, 2020
@SaveYourTime
Copy link

SaveYourTime commented Apr 15, 2020

@artyorsh When will release a new version with this fixed?
The yellow warning is really annoying. ☹️

@nashford77
Copy link

+1 - This is unbearable and crashes my app :) theres so many instances of it

@haystome
Copy link

+1

@hatim-developer
Copy link

@artyorsh when we can expect next release with this fix?

@artyorsh
Copy link
Collaborator

artyorsh commented May 1, 2020

@hatim-developer It's included in v5-alpha, you may upgrade to it right now. It will become stable during the next week (track it here). 0.62 support in v4 will be released as 4.4.2 right after v5, becoming the last update for 4.x.

@hatim-developer
Copy link

@artyorsh thanks,
Sorry for delayed response we are using 4.x will be waiting for 4.4.2, once its released will upgrade it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants