mirror of
https://github.com/zoriya/react-native-background-downloader.git
synced 2026-06-02 01:55:01 +00:00
fix: iOS CocoaPods
This commit is contained in:
@@ -1,24 +0,0 @@
|
|||||||
|
|
||||||
Pod::Spec.new do |s|
|
|
||||||
s.name = "RNBackgroundDownload"
|
|
||||||
s.version = "1.0.0"
|
|
||||||
s.summary = "RNBackgroundDownload"
|
|
||||||
s.description = <<-DESC
|
|
||||||
RNBackgroundDownload
|
|
||||||
DESC
|
|
||||||
s.homepage = ""
|
|
||||||
s.license = "MIT"
|
|
||||||
# s.license = { :type => "MIT", :file => "FILE_LICENSE" }
|
|
||||||
s.author = { "author" => "author@domain.cn" }
|
|
||||||
s.platform = :ios, "7.0"
|
|
||||||
s.source = { :git => "https://github.com/author/RNBackgroundDownload.git", :tag => "master" }
|
|
||||||
s.source_files = "RNBackgroundDownload/**/*.{h,m}"
|
|
||||||
s.requires_arc = true
|
|
||||||
|
|
||||||
|
|
||||||
s.dependency "React"
|
|
||||||
#s.dependency "others"
|
|
||||||
|
|
||||||
end
|
|
||||||
|
|
||||||
|
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
|
||||||
|
Pod::Spec.new do |s|
|
||||||
|
s.name = 'react-native-background-downloader'
|
||||||
|
s.version = '1.0.0'
|
||||||
|
s.summary = 'React Native background downloader'
|
||||||
|
s.description = <<-DESC
|
||||||
|
A library for React-Native to help you download large files on iOS and Android both in the foreground and most importantly in the background.
|
||||||
|
DESC
|
||||||
|
s.author = 'elad@helleko.com'
|
||||||
|
s.homepage = 'https://github.com/EkoLabs/react-native-background-downloader'
|
||||||
|
s.license = 'MIT'
|
||||||
|
s.platform = :ios, '7.0'
|
||||||
|
s.source = { git: 'https://github.com/EkoLabs/react-native-background-downloader.git', tag: 'master' }
|
||||||
|
s.source_files = 'ios/**/*.{h,m}'
|
||||||
|
s.requires_arc = true
|
||||||
|
|
||||||
|
s.dependency 'React'
|
||||||
|
end
|
||||||
Reference in New Issue
Block a user