Skip to content

Commit 6065384

Browse files
dmitriyilchenkozxcpoiu
authored andcommitted
ios: added installation with cocoa pods. (#86)
1 parent bf480a8 commit 6065384

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,12 @@ On android, as long as your file extension supported by android, this module wil
102102
103103
`react-native link react-native-incall-manager`
104104
105+
#### Using CocoaPods
106+
107+
Update the following line with your path to node_modules/ and add it to your Podfile:
108+
109+
`pod 'ReactNativeIncallManager', :path => '../node_modules/react-native-incall-manager'`
110+
105111
#### Manually Linking
106112
107113
In case `react-native link` doesn't work,

ReactNativeIncallManager.podspec

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
require 'json'
2+
3+
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
4+
5+
Pod::Spec.new do |s|
6+
s.name = 'ReactNativeIncallManager'
7+
s.version = package['version']
8+
s.summary = package['description']
9+
s.description = package['description']
10+
s.homepage = package['homepage']
11+
s.license = package['license']
12+
s.author = package['author']
13+
s.source = { :git => 'https://github.com/zxcpoiu/react-native-incall-manager.git', :tag => s.version }
14+
15+
s.platform = :ios, '9.0'
16+
s.ios.deployment_target = '8.0'
17+
18+
s.preserve_paths = 'LICENSE', 'package.json'
19+
s.source_files = '**/*.{h,m}'
20+
s.exclude_files = 'example/**/*'
21+
s.dependency 'React'
22+
end

0 commit comments

Comments
 (0)