From 47f48ea59df885d6fea80d3050e27f74f70ab03b Mon Sep 17 00:00:00 2001 From: Derek Edwards Date: Tue, 24 Sep 2019 11:39:01 -0400 Subject: [PATCH] Pod spec --- package.json | 7 ++++--- react-native-broadcast.podspec | 19 +++++++++++++++++++ 2 files changed, 23 insertions(+), 3 deletions(-) create mode 100644 react-native-broadcast.podspec diff --git a/package.json b/package.json index 755db22..04d33ca 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { "name": "react-native-broadcast", - "version": "1.0.0", - "description": "", + "version": "1.0.4", + "description": "RTMP Broadcaster library for React Native", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" @@ -10,6 +10,7 @@ "keywords": [ "react-native" ], - "author": "", + "author": "BehaviorCloud LLC", + "homepage": "https://github.com/BehaviorCloud/react-native-broadcast#readme", "license": "" } diff --git a/react-native-broadcast.podspec b/react-native-broadcast.podspec new file mode 100644 index 0000000..2c9bd26 --- /dev/null +++ b/react-native-broadcast.podspec @@ -0,0 +1,19 @@ +require 'json' + +package = JSON.parse(File.read(File.join(__dir__, 'package.json'))) + +Pod::Spec.new do |s| + s.name = package['name'] + s.version = package['version'] + s.summary = package['description'] + s.license = package['license'] + + s.authors = package['author'] + s.homepage = package['homepage'] + s.platform = :ios, "9.0" + + s.source = { :git => "https://github.com/BehaviorCloud/react-native-broadcast.git", :tag => "#{s.version}" } + s.source_files = "ios/**/*.{h,m}" + + s.dependency 'React' +end