Hi everyone,
I’ve got a problem to lacate my position on the map.
When I open the console here is the message display.
instrument.ts:124 Animated: useNativeDriver
is not supported because the native animated module is missing. Falling back to JS-based animation. To resolve this, add RCTAnimation
module to this app, or remove useNativeDriver
. More info: Button component generate warning · Issue #11094 · facebook/react-native · GitHub
When I follow the link github, it says
You need to link RCTAnimation like @sibelius said.
Here is how I did it:
1. find RCTAnimation.xcodeproj
The file can be found from node_modules/react-native/NativeAnimation
OR node_modules/react-native/Libraries/NativeAnimation
2. open xcode
3. open project navigator (press cmd + 1 OR click folder icon from the left)
4. drag & drop RCTAnimation.xcodeproj
from the previous step to Libraries folder
5. Expand RCTAnimation.xcodeproj
in project navigator and find libRCTAnimation.a
file inside of Products folder
6. click on your project name on top of project navigator and go to Build Phrases tab
7. drag and drop libRCTAnimation.a
to Link Binary With Libraries
8. Clean and run
But I don’t know github well, and neither Xcode
Does someone has already solve this problem ?