mirror of
https://github.com/zhigang1992/react-native-notifications.git
synced 2026-01-13 09:29:48 +08:00
23 lines
790 B
Ruby
23 lines
790 B
Ruby
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
|