$ npm install react-native-picker-input --save
Linking is not required in React Native 0.60 and above.
For iOS: Run pod install
in the ios directory.
$ react-native link react-native-picker-input
If linking is not working for iOS follow these steps:
- In XCode, in the project navigator, right click
Libraries
➜Add Files to [your project's name]
- Go to
node_modules
➜react-native-picker-input
and addWNRPickerInput.xcodeproj
- In XCode, in the project navigator, select your project. Add
libWNRPickerInput.a
to your project'sBuild Phases
➜Link Binary With Libraries
- Run your project (
Cmd+R
)