Adding picker component to any page throws following warning:
Warning: Unsafe legacy lifecycles will not be called for components using new component APIs.
%s uses %s but also contains the following legacy lifecycles:%s%s%s
The above lifecycles should be removed. Learn more about this warning here:
https://fb.me/react-async-component-lifecycle-hooks, Styled(PickerNB), getDerivedStateFromProps(), ,
UNSAFE_componentWillReceiveProps,
native-base: 2.13.5,
expo: 34.0.4
,
Just add Picker to the page.
Only on IOS

same here, IOS only
same issue as well:
native-base: 2.13.5
expo: 32.0.0
The picker still seems to work as normal, I just get the warning every time I navigate to that screen.
I have also noticed this with the version of react-native-keyboard-aware-scroll-view v0.8 which is being bundled with the latest version of native-base which is using react deprecated lifecycle method componentWillReceiveProps can you please update to use library to latest v0.9.1 which resolves this issue.
Same here (same as OP).
Same
same. We hope someone will submit a PR for this warning.
Can we try it with the latest version 2.13.7 and see if the issue still persists?
@sankhadeeproy007 Still having the issue with 2.13.7
package-lock.json:

in-app screenshot:

warning from terminal:
[09:52:54] Warning: Unsafe legacy lifecycles will not be called for components using new component APIs.
%s uses %s but also contains the following legacy lifecycles:%s%s%s
The above lifecycles should be removed. Learn more about this warning here:
https://fb.me/react-async-component-lifecycle-hooks, Styled(PickerNB), getDerivedStateFromProps(), ,
UNSAFE_componentWillReceiveProps,
Exact same problem for me, any updates?
Fixed in 2.13.8
Most helpful comment
Fixed in 2.13.8