Skip to content
This repository was archived by the owner on Feb 27, 2022. It is now read-only.

Commit 7a9e99a

Browse files
author
Tsirikoglou Yiannis
committed
=merge updates
2 parents 186d153 + f854f7f commit 7a9e99a

File tree

4 files changed

+23
-9
lines changed

4 files changed

+23
-9
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ The real challenge of using this method is making sure the app's UI is always up
3030
For **`RN <= 0.57.0`** use `$ yarn add [email protected]`
3131

3232
### Mostly automatic installation
33+
Any React Native version **`>= 0.60`** supports autolinking so nothing should be done.
34+
35+
For anything **`< 0.60`** run the following link command
3336

3437
`$ react-native link react-native-background-downloader`
3538

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-background-downloader",
3-
"version": "2.3.0",
3+
"version": "2.3.1",
44
"description": "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.",
55
"main": "index.js",
66
"scripts": {

react-native-background-downloader.podspec

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
1+
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
12

23
Pod::Spec.new do |s|
3-
s.name = 'react-native-background-downloader'
4-
s.version = '1.0.0'
4+
s.name = package['name']
5+
s.version = package['version']
56
s.summary = 'React Native background downloader'
6-
s.description = <<-DESC
7-
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.
8-
DESC
9-
s.author = '[email protected]'
10-
s.homepage = 'https://github.com/EkoLabs/react-native-background-downloader'
11-
s.license = 'MIT'
7+
s.description = package['description']
8+
s.author = package['author']
9+
s.homepage = package['repository']['url']
10+
s.license = package['license']
1211
s.platform = :ios, '7.0'
1312
s.source = { git: 'https://github.com/EkoLabs/react-native-background-downloader.git', tag: 'master' }
1413
s.source_files = 'ios/**/*.{h,m}'

react-native.config.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
module.exports = {
2+
dependency: {
3+
platforms: {
4+
ios: {
5+
project: "./ios/RNBackgroundDownloader.xcodeproj"
6+
},
7+
android: {
8+
sourceDir: "./android"
9+
}
10+
}
11+
}
12+
};

0 commit comments

Comments
 (0)