Skip to content
Merged
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
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,12 @@ On android, as long as your file extension supported by android, this module wil

`react-native link react-native-incall-manager`

#### Using CocoaPods

Update the following line with your path to node_modules/ and add it to your Podfile:

`pod 'ReactNativeIncallManager', :path => '../node_modules/react-native-incall-manager'`

#### Manually Linking

In case `react-native link` doesn't work,
Expand Down
22 changes: 22 additions & 0 deletions ReactNativeIncallManager.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
require 'json'

package = JSON.parse(File.read(File.join(__dir__, 'package.json')))

Pod::Spec.new do |s|
s.name = 'ReactNativeIncallManager'
s.version = package['version']
s.summary = package['description']
s.description = package['description']
s.homepage = package['homepage']
s.license = package['license']
s.author = package['author']
s.source = { :git => 'https://github.com/zxcpoiu/react-native-incall-manager.git', :tag => s.version }

s.platform = :ios, '9.0'
s.ios.deployment_target = '8.0'

s.preserve_paths = 'LICENSE', 'package.json'
s.source_files = '**/*.{h,m}'
s.exclude_files = 'example/**/*'
s.dependency 'React'
end