lawnstarter / react-native-picker-select

🔽 A Picker component for React Native which emulates the native <select> interfaces for iOS and Android
https://npmjs.com/package/react-native-picker-select
MIT License
1.74k stars 497 forks source link

Invariant Violation: Picker has been removed from React Native. It can now be installed and imported from '@react-native-picker/picker' instead of 'react-native'. #469

Closed vuletuanbt closed 2 years ago

vuletuanbt commented 2 years ago

Describe the bug

To Reproduce
Steps to reproduce the behavior:

  1. Install package
  2. Install @react-native-picker/picker
  3. See an error

Expected behavior
Can open screen

Screenshots
image

Additional details

Reproduction and/or code sample

vuletuanbt commented 2 years ago

My issue was resolved, it works with https://github.com/lawnstarter/react-native-picker-select/issues/404#issuecomment-972880629

ParthShrivastav commented 2 years ago

Issue is still persisting even after trying the above solution