Skip to content
This repository has been archived by the owner on Feb 15, 2019. It is now read-only.

ReactNative-0.38,a warning,'useNativeDriver' is not supported #276

Closed
TuomaXu opened this issue Nov 25, 2016 · 10 comments
Closed

ReactNative-0.38,a warning,'useNativeDriver' is not supported #276

TuomaXu opened this issue Nov 25, 2016 · 10 comments

Comments

@TuomaXu
Copy link

TuomaXu commented Nov 25, 2016

I updata the last react-native@0.38
run app in iphone 7 plus simulator,it put a warning.

the message :

Animated: 'useNativeDriver' is not supported because the native animation module is missing.
Falling back to JS-based animation.
To resolve this , add 'RCTAnimation' module to this app,or remove 'useNativeDriver'

@sibelius
Copy link
Contributor

U need to link RCTAnimation in ur Xcode project, search it inside react-native folder inside node_modules

@apaajabolehd
Copy link

same problem here. I already link RCTAnimation to the project, but the warning is still there. I use this reference to link the RCTAnimation
http://stackoverflow.com/questions/29311326/how-to-create-a-simple-animation-effect

Is there anything wrong?

@flizzer
Copy link

flizzer commented Nov 26, 2016

Same for me. I followed the instructions in @apaajabolehd's referenced stack overflow post (Thanks @apaajabolehd BTW!), but still get the warning. Any thoughts?

@apaajabolehd
Copy link

@flizzer you're welcome, glad can help. I fixed the problem. Just open the xcode project, clean and rebuild, then rerun react-native run-ios. Hope it helps you.

@flizzer
Copy link

flizzer commented Nov 28, 2016

@apaajabolehd I tried cleaning and rebuilding, but I still get the warning in the simulator. I have the RCTAnimation.xcodeproj project under my "Libraries" folder and I have libRCTAnimation.a under the "Products" folder and under "Link Binary With Libraries" in "Build Phases". Is there a step I've overlooked maybe? Thanks.

@MarlBurroW
Copy link

Same issue here

@henrikra
Copy link

I commented on react-native repo how to fix this issue :) facebook/react-native#11094 (comment)

@flizzer
Copy link

flizzer commented Nov 29, 2016

Thanks @henrikra! I thought I had done that, but being a noob at linking in Xcode, I hadn't done it quite right. Once I figured out how to add the .a file to the correct project. It worked like a charm. Thanks again!

@futurechallenger
Copy link

@henrikra 's way works.
@flizzer you have to clean the project and re-run it.

@sibelius
Copy link
Contributor

sibelius commented Dec 1, 2016

@TuomaXu can we close this?

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

No branches or pull requests

7 participants