Closed ggunti closed 4 years ago
I got it working with cocoapods. I ignored all the instructions listed for installing on iOS and added
pod 'ReactNativeKeyboardInput', :path => '../node_modules/react-native-keyboard-input'
pod 'ReactNativeKeyboardTrackingView', :path => '../node_modules/react-native-keyboard-tracking-view'
to my podfile
@samgermain Thank you! I added
pod 'ReactNativeKeyboardInput', :path => '../node_modules/react-native-keyboard-input'
pod 'ReactNativeKeyboardTrackingView', :path => '../node_modules/react-native-keyboard-tracking-view'
as you suggested and then I ran pod install
inside ios
directory.
I get an error message regarding autolinking when I run react-native run-ios
, but it works.
Installation instructions does not work on RN 0.60+ because of autolinking (README should be updated). Although, I was able to successfully install this package on android, based on this steps.
But on iOS I was unable to install it. I made the following steps:
npm i --save react-native-keyboard-input
cd iOS && pod install
But it does not work:
Also I tried the steps described in README, but it fails to build (because of RN0.60+ autolinking).
So my question is: how this package should be installed on iOS for RN0.60+?