From 6c914a5a4d94251fbe6743a1262f26ae6ff7a01e Mon Sep 17 00:00:00 2001 From: Adrian Perez Date: Sat, 5 May 2018 05:44:26 +0200 Subject: [PATCH 1/3] feat: add podspec for CocoaPods users --- RNContactsWrapper.podspec | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 RNContactsWrapper.podspec diff --git a/RNContactsWrapper.podspec b/RNContactsWrapper.podspec new file mode 100644 index 0000000..77bd729 --- /dev/null +++ b/RNContactsWrapper.podspec @@ -0,0 +1,17 @@ +require 'json' + +package = JSON.parse(File.read(File.join(__dir__, 'package.json'))) + +Pod::Spec.new do |s| + s.name = 'RNContactsWrapper' + s.version = package['version'] + s.summary = "Contacts plugin to wrap native contact pickers for iOS and Android." + s.license = package['license'] + s.homepage = 'https://github.com/magicismight/react-native-svg' + s.authors = 'Horcrux Chen' + s.source = { :git => 'https://github.com/LynxITDigital/react-native-contacts-wrapper', :tag => "v#{s.version}" } + s.source_files = 'ios/**/*.{h,m}' + s.requires_arc = true + s.platforms = { :ios => "8.0" } + s.dependency 'React' +end From 0fa90ae84d3980003a4d4a003aae9b75c6e3e7e8 Mon Sep 17 00:00:00 2001 From: Adrian Perez Date: Sat, 5 May 2018 05:58:44 +0200 Subject: [PATCH 2/3] fix: update homepage --- RNContactsWrapper.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RNContactsWrapper.podspec b/RNContactsWrapper.podspec index 77bd729..72eed7d 100644 --- a/RNContactsWrapper.podspec +++ b/RNContactsWrapper.podspec @@ -7,7 +7,7 @@ Pod::Spec.new do |s| s.version = package['version'] s.summary = "Contacts plugin to wrap native contact pickers for iOS and Android." s.license = package['license'] - s.homepage = 'https://github.com/magicismight/react-native-svg' + s.homepage = 'https://github.com/LynxITDigital/react-native-contacts-wrapper' s.authors = 'Horcrux Chen' s.source = { :git => 'https://github.com/LynxITDigital/react-native-contacts-wrapper', :tag => "v#{s.version}" } s.source_files = 'ios/**/*.{h,m}' From 6ffcf65f4667b3c0b3a3c021615ae7d3a9b30934 Mon Sep 17 00:00:00 2001 From: Adrian Perez Date: Sat, 5 May 2018 06:08:47 +0200 Subject: [PATCH 3/3] fix: update author in podspec --- RNContactsWrapper.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RNContactsWrapper.podspec b/RNContactsWrapper.podspec index 72eed7d..56cd19c 100644 --- a/RNContactsWrapper.podspec +++ b/RNContactsWrapper.podspec @@ -8,7 +8,7 @@ Pod::Spec.new do |s| s.summary = "Contacts plugin to wrap native contact pickers for iOS and Android." s.license = package['license'] s.homepage = 'https://github.com/LynxITDigital/react-native-contacts-wrapper' - s.authors = 'Horcrux Chen' + s.authors = 'LynxIT Digital' s.source = { :git => 'https://github.com/LynxITDigital/react-native-contacts-wrapper', :tag => "v#{s.version}" } s.source_files = 'ios/**/*.{h,m}' s.requires_arc = true