Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ A react native UI component that enables “keyboard tracking" for this view and
npm i react-native-keyboard-tracking-view --save
```

#### Option: Manually

- Locate the module lib folder in your node modules:
`PROJECT_DIR/node_modules/react-native-keyboard-tracking-view/lib`.

Expand All @@ -22,6 +24,15 @@ A react native UI component that enables “keyboard tracking" for this view and

![](https://github.com/wix/react-native-keyboard-tracking-view/blob/master/img/add_lib.png)

#### Option: With [CocoaPods](https://cocoapods.org/)

Add the following to your `Podfile` and run `pod update`:

```
pod 'react-native-keyboard-tracking-view', :path => '../node_modules/react-native-keyboard-tracking-view'
```


## How To Use
Require the native component:

Expand Down
17 changes: 17 additions & 0 deletions react-native-keyboard-tracking-view.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
require 'json'
version = JSON.parse(File.read('package.json'))["version"]

Pod::Spec.new do |s|

s.name = "react-native-keyboard-tracking-view"
s.version = version
s.summary = "Keyboard Tracking View for React Native."
s.homepage = "https://github.com/wix/react-native-keyboard-tracking-view"
s.license = 'MIT'
s.source = { path: '.' }
s.ios.deployment_target = '9.0'
s.authors = { 'Artal Druk' => 'artald@wix.com' }
s.source_files = 'lib/*.{h,m}'
s.dependency 'React'

end