From 6cb2b6811a20551fb6e6be5c603c8f89750f7b6d Mon Sep 17 00:00:00 2001 From: Jonathan Stanton Date: Mon, 12 Dec 2016 10:52:45 -0800 Subject: [PATCH] Add Podspec --- react-native-notifications.podspec | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 react-native-notifications.podspec diff --git a/react-native-notifications.podspec b/react-native-notifications.podspec new file mode 100644 index 0000000..7fd06bc --- /dev/null +++ b/react-native-notifications.podspec @@ -0,0 +1,22 @@ +require 'json' + +package = JSON.parse(File.read(File.join(__dir__, 'package.json'))) + +Pod::Spec.new do |s| + s.name = 'react-native-notifications' + s.version = package['version'] + s.summary = package['description'] + s.description = package['description'] + s.license = package['license'] + s.author = package['author'] + s.homepage = package['homepage'] + s.source = { :git => 'https://github.com/wix/react-native-notifications', :tag => s.version } + + s.requires_arc = true + s.platform = :ios, '8.0' + + s.preserve_paths = 'LICENSE', 'README.md', 'package.json', 'notification.ios.js', 'notification.android.js', 'index.android.js', 'index.ios.js' + s.source_files = 'RNNotifications/*.{h,m}' + + s.dependency 'React' +end -- 2.26.2