Skip to content

Commit f8cd2b2

Browse files
committed
🎉 Add support for CocoaPods
1 parent 0896cd5 commit f8cd2b2

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
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 = "react-native-get-random-values"
7+
s.version = package["version"]
8+
s.summary = "getRandomValues for React Native"
9+
s.description = "A small implementation of `getRandomValues` for React Native."
10+
s.homepage = "https://github.com/LinusU/react-native-get-random-values"
11+
s.license = "MIT"
12+
s.authors = { "Linus Unnebäck" => "[email protected]" }
13+
s.platforms = { :ios => "9.0" }
14+
s.source = { :git => "https://github.com/LinusU/react-native-get-random-values.git", :tag => "v#{s.version}" }
15+
16+
s.source_files = "ios/**/*.{h,m,swift}"
17+
s.requires_arc = true
18+
19+
s.dependency "React"
20+
end

0 commit comments

Comments
 (0)