Skip to content

Commit 8e734f4

Browse files
committed
autolinking
1 parent 038c6d1 commit 8e734f4

2 files changed

Lines changed: 21 additions & 19 deletions

File tree

ios/RNUserAgent.podspec

Lines changed: 0 additions & 19 deletions
This file was deleted.

react-native-user-agent.podspec

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
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 = package["name"]
7+
s.version = package["version"]
8+
s.summary = package["description"]
9+
s.description = package["description"]
10+
s.license = package["license"]
11+
12+
s.authors = package["author"]
13+
s.homepage = package["homepage"]
14+
s.platform = :ios, "9.0"
15+
16+
s.source = { :git => package["repository"]["url"], :tag => "v#{s.version}" }
17+
s.source_files = "ios/**/*.{h,m}"
18+
19+
s.dependency "React"
20+
21+
end

0 commit comments

Comments
 (0)