diff --git a/package.json b/package.json index f86b84a..cc5d07a 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,7 @@ "url": "git+https://github.com/mybigday/react-native-s3.git" }, "keywords": ["react", "native", "aws", "s3", "transferutility"], + "homepage": "https://github.com/mybigday/react-native-s3#readme", "author": "Jhen ", "license": "MIT", "eslintConfig": { diff --git a/react-native-s3.podspec b/react-native-s3.podspec new file mode 100644 index 0000000..8a81442 --- /dev/null +++ b/react-native-s3.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/mybigday/react-native-s3.git", :tag => "v#{s.version}" } + s.source_files = "ios/**/*.{h,m}" + + s.dependency 'React' +end \ No newline at end of file