File tree Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,14 @@ Add text or icon watermarks to your images
14
14
* npm install react-native-image-marker --save
15
15
* react-native link
16
16
17
+ ### iOS Pod Install
18
+
19
+ You can use ` pod ` instead of ` link ` . Add following lines in your ` Podfile ` :
20
+
21
+ ```
22
+ pod 'RNImageMarker', :path => '../node_modules/react-native-image-marker'
23
+ ```
24
+
17
25
## API
18
26
19
27
| name| parameter| return| decription|
Original file line number Diff line number Diff line change
1
+ require 'json'
2
+
3
+ package = JSON . parse ( File . read ( 'package.json' ) )
4
+
5
+ Pod ::Spec . new do |s |
6
+ s . name = "RNImageMarker"
7
+ s . version = package [ 'version' ]
8
+ s . summary = package [ 'description' ]
9
+
10
+ s . author = { "JimmyDaddy" => "[email protected] " }
11
+ s . homepage = package [ 'homepage' ]
12
+ s . license = package [ 'license' ]
13
+ s . platform = :ios , "8.0"
14
+
15
+ s . source = { :git => "https://github.com/JimmyDaddy/react-native-image-marker.git" , :tag => s . version }
16
+ s . source_files = 'ios/**/*.{h,m}'
17
+
18
+ s . dependency 'React'
19
+ end
You can’t perform that action at this time.
0 commit comments