-
Notifications
You must be signed in to change notification settings - Fork 25k
Description
Description
Using react native button on iOS create the following warning:
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`.
Reproduction
Step 1: Add a button in your view,
Step 2: Launch the iOS simulator
Step 3: Click on the button and see the warning.
If it can help, you can find the code here: https://github.com/adrienbataille/test-react-native
Note: I don't have this problem on Android
Solution
After a little investigation, I found the button component is based on TouchableOpacity for iOS and react-native release notes for 0.38.0 mention this commit: 1bb323e.
I don't if it the origin of the problem, but may be it can have an impact, because it works fine with react-native 0.37.0.
Additional Information
- React Native version: 0.38.0
- Platform: iOS
- Operating System: MacOS - Sierra

