Deprecation Warning on React Native 44
Warning: View.AccessibilityTraits has been deprecated and will be removed in a future version of ReactNative. Use ViewAccessibility.AccessibilityTraits instead.
Warning: View.AccessibilityComponentType has been deprecated and will be removed in a future version of ReactNative. Use ViewAccessibility.AccessibilityComponentTypes instead.
Warning: View.forceTouchAvailable has been deprecated and will be removed in a future version of ReactNative. Use NativeModules.PlatformConstants.forceTouchAvailable instead.
Warning: View.propTypes has been deprecated and will be removed in a future version of ReactNative. Use ViewPropTypes instead.
Here is what I import:
import { Container, Content, Footer, FooterTab } from 'native-base';
Latest NativeBase React Native 44
+1
+1
+1
+1
+1
+1
+1
+1
just run react-native uninstall native-base. the warning gone
+1
+1
+1
+1
+1
+1
@zerokid's solution works: run react-native uninstall native-base
This issue should be closed
Sorry if I am being dense here, but how does uninstalling native-base constitute a solution? I would like to use native-base.
Any news if this will be fixed in future releases?
react-native uninstall native-base isn't a solution, I ran it and get following error:
rnpm-install WARN ERRINVALIDPROJ Project native-base is not a react-native library
Cannot find module '/Users/<project path>/node_modules/native-base/package.json'
We are trying to fix this ASAP.