douglasjunior / react-native-keyboard-manager

⚛ Library to prevent issues of keyboard sliding up and cover inputs on React-Native iOS projects.
https://www.npmjs.com/package/react-native-keyboard-manager
MIT License
971 stars 59 forks source link

Please add podspec #25

Closed stephenkopylov closed 6 years ago

stephenkopylov commented 6 years ago

After 3+ hrs of unsuccessful tryings to link this useful library to my project, I created this pull request (actually copied previous one) for those, who mad with integration problems.

https://github.com/douglasjunior/react-native-keyboard-manager/pull/24

The podspec will not break anything in the library, it just allows you to integrate keyboard manager with your project with one line: pod 'RNKeyboardManager', :path => '../node_modules/react-native-keyboard-manager'

And yes. This is the easiest way to link the lib =(

douglasjunior commented 6 years ago

I've seen other users link with Cocoapods, I particularly do not use, so I have no experience on.

I'll look at your PR.

stephenkopylov commented 6 years ago

@douglasjunior Thanks. Actually you can freely merge this PR - it isn't changing any source files, just adding .posdpec + info about cocoapods in Readme.

As you can see, almost all popular react-native modules, needed to be linked with ios project have .podspecs in their files: screen shot 2018-04-19 at 12 10 19 screen shot 2018-04-19 at 12 09 57 screen shot 2018-04-19 at 12 09 35

douglasjunior commented 6 years ago

No problem, I know cocoapods, I just do not use it on React Native projects .

douglasjunior commented 6 years ago

Closed by #24