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

Podspec added #24

Closed stephenkopylov closed 6 years ago

stephenkopylov commented 6 years ago

Added a proper podspec for using with cocoapods.

Actually, this is the only way to link the library with project without suffering and this shitty "<RCT***.h> not found" errors

Usage: pod 'RNKeyboardManager', :path => '../node_modules/react-native-keyboard-manager'

stephenkopylov commented 6 years ago

Added instructions to Readme

stephenkopylov commented 6 years ago

Yep, I've seen.

In case when user uses cocoapods it will be handled by it, otherwise it will use your, included IQKeyboardManager.

It's actually a one and only proper way to handle dependencies in cocoapods.

UPD: and yep, it works with charm this way =)

douglasjunior commented 6 years ago

Great, thanks.

douglasjunior commented 6 years ago

I'm going to release a version in a few hours.

stephenkopylov commented 6 years ago

@douglasjunior Perfect. Thank you!