NativeBase icon indicating copy to clipboard operation
NativeBase copied to clipboard

Deprecation Warning on React Native 44

Open stefensuhat opened this issue 9 years ago • 25 comments

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

stefensuhat avatar May 04 '17 14:05 stefensuhat

+1

fhadsheikh avatar May 04 '17 19:05 fhadsheikh

+1

haythem-ouederni avatar May 06 '17 22:05 haythem-ouederni

+1

zerokid avatar May 07 '17 02:05 zerokid

+1

BroshkovD avatar May 07 '17 16:05 BroshkovD

+1

AJDowds avatar May 07 '17 21:05 AJDowds

+1

ZevenFang avatar May 08 '17 04:05 ZevenFang

+1

tonylinyy avatar May 08 '17 05:05 tonylinyy

+1

jjsaguit avatar May 08 '17 11:05 jjsaguit

just run react-native uninstall native-base. the warning gone

zerokid avatar May 08 '17 11:05 zerokid

+1

hanpanpan200 avatar May 10 '17 07:05 hanpanpan200

+1

pohodnya avatar May 10 '17 08:05 pohodnya

+1

azulkipli avatar May 11 '17 07:05 azulkipli

+1

jamesphe avatar May 18 '17 01:05 jamesphe

+1

ghost avatar May 18 '17 11:05 ghost

+1

leonardollobato avatar May 18 '17 20:05 leonardollobato

@zerokid's solution works: run react-native uninstall native-base

This issue should be closed

fhadsheikh avatar May 18 '17 20:05 fhadsheikh

Sorry if I am being dense here, but how does uninstalling native-base constitute a solution? I would like to use native-base.

agersoncgps avatar May 18 '17 20:05 agersoncgps

Any news if this will be fixed in future releases?

thilook avatar May 19 '17 01:05 thilook

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'

tiendq avatar May 19 '17 07:05 tiendq

We are trying to fix this ASAP.

sanketsahu avatar May 19 '17 08:05 sanketsahu