Skip to content

Commit 5721cb7

Browse files
committedJun 23, 2018
rename missed occurrences of react-native-fetch-blob
1 parent 5983f0c commit 5721cb7

File tree

7 files changed

+14
-21
lines changed

7 files changed

+14
-21
lines changed
 

‎CONTRIBUTING.md

+1-7
Original file line numberDiff line numberDiff line change
@@ -1,7 +1 @@
1-
For developers who interested in making contribution to this project, please see [https://github.com/wkh237/react-native-fetch-blob-dev](https://github.com/wkh237/react-native-fetch-blob-dev) for more information.
2-
3-
Please read the following rules before opening a PR :
4-
5-
1. If the PR is offering a feature please make the PR to our "Feature Branch" 0.11.0
6-
2. Bug fix request to "Bug Fix Branch" 0.10.6
7-
3. Correct README.md can directly to master
1+
For developers who interested in making contribution to this project, please see [https://github.com/joltup/rn-fetch-blob-dev](https://github.com/joltup/rn-fetch-blob-dev) for more information.
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<resources>
2-
<string name="app_name">react-native-fetch-blob</string>
2+
<string name="app_name">rn-fetch-blob</string>
33
</resources>

‎index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ emitter.addListener("RNFetchBlobMessage", (e) => {
7272
// Show warning if native module not detected
7373
if(!RNFetchBlob || !RNFetchBlob.fetchBlobForm || !RNFetchBlob.fetchBlob) {
7474
console.warn(
75-
'react-native-fetch-blob could not find valid native module.',
75+
'rn-fetch-blob could not find valid native module.',
7676
'please make sure you have linked native modules using `rnpm link`,',
7777
'and restart RN packager or manually compile IOS/Android project.'
7878
)

‎ios/RNFetchBlob.xcodeproj/project.pbxproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@
261261
"$(SRCROOT)/../../React/**",
262262
"$(SRCROOT)/../../react-native/React/**",
263263
"$(SRCROOT)/../../node_modules/react-native/React/**",
264-
"$(SRCROOT)/../../node_modules/react-native-fetch-blob/ios/RNFetchBlob",
264+
"$(SRCROOT)/../../node_modules/rn-fetch-blob/ios/RNFetchBlob",
265265
"$(SRCROOT)/../../RNFetchBlobTest/node_modules/react-native/**",
266266
);
267267
OTHER_LDFLAGS = "-ObjC";
@@ -282,7 +282,7 @@
282282
"$(SRCROOT)/../../React/**",
283283
"$(SRCROOT)/../../react-native/React/**",
284284
"$(SRCROOT)/../../node_modules/react-native/React/**",
285-
"$(SRCROOT)/../../node_modules/react-native-fetch-blob/ios/RNFetchBlob",
285+
"$(SRCROOT)/../../node_modules/rn-fetch-blob/ios/RNFetchBlob",
286286
"$(SRCROOT)/../../RNFetchBlobTest/node_modules/react-native/**",
287287
);
288288
OTHER_LDFLAGS = "-ObjC";

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
],
2424
"rnpm": {
2525
"commands": {
26-
"prelink": "node ./node_modules/react-native-fetch-blob/scripts/prelink.js"
26+
"prelink": "node ./node_modules/rn-fetch-blob/scripts/prelink.js"
2727
}
2828
},
2929
"repository": {
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
Pod::Spec.new do |s|
2-
s.name = "react-native-fetch-blob"
2+
s.name = "rn-fetch-blob"
33
s.version = "0.10.6"
44
s.summary = "A project committed to make file acess and data transfer easier, effiecient for React Native developers."
55
s.requires_arc = true
66
s.license = 'MIT'
77
s.homepage = 'n/a'
8-
s.authors = { "wkh237" => "xeiyan@gmail.com" }
9-
s.source = { :git => "https://github.com/wkh237/react-native-fetch-blob", :tag => 'v0.10.6'}
8+
s.source = { :git => "https://github.com/joltup/rn-fetch-blob", :tag => 'v0.10.6'}
109
s.source_files = 'ios/**/*.{h,m}'
11-
s.platform = :ios, "7.0"
10+
s.platform = :ios, "8.0"
1211
s.dependency 'React/Core'
1312
end

‎scripts/prelink.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ try {
66
var PACKAGE_JSON = process.cwd() + '/package.json';
77
var package = JSON.parse(fs.readFileSync(PACKAGE_JSON));
88
var APP_NAME = package.name;
9-
var PACKAGE_GRADLE = process.cwd() + '/node_modules/react-native-fetch-blob/android/build.gradle'
9+
var PACKAGE_GRADLE = process.cwd() + '/node_modules/rn-fetch-blob/android/build.gradle'
1010
var VERSION = checkVersion();
1111

1212
console.log('RNFetchBlob detected app version => ' + VERSION);
1313

1414
if(VERSION < 0.28) {
15-
console.log('You project version is '+ VERSION + ' which may not compatible to react-native-fetch-blob 7.0+, please consider upgrade your application template to react-native 0.27+.')
15+
console.log('You project version is '+ VERSION + ' which may not compatible to rn-fetch-blob 7.0+, please consider upgrade your application template to react-native 0.27+.')
1616
// add OkHttp3 dependency fo pre 0.28 project
1717
var main = fs.readFileSync(PACKAGE_GRADLE);
1818
console.log('adding OkHttp3 dependency to pre 0.28 project .. ')
@@ -52,7 +52,7 @@ try {
5252
}
5353
else {
5454
console.log(
55-
'\033[95mreact-native-fetch-blob \033[97mwill not automatically add Android permissions after \033[92m0.9.4 '+
55+
'\033[95mrn-fetch-blob \033[97mwill not automatically add Android permissions after \033[92m0.9.4 '+
5656
'\033[97mplease run the following command if you want to add default permissions :\n\n' +
5757
'\033[96m\tRNFB_ANDROID_PERMISSIONS=true react-native link \n')
5858
}
@@ -64,8 +64,8 @@ try {
6464

6565
} catch(err) {
6666
console.log(
67-
'\033[95mreact-native-fetch-blob\033[97m link \033[91mFAILED \033[97m\nCould not automatically link package :'+
67+
'\033[95mrn-fetch-blob\033[97m link \033[91mFAILED \033[97m\nCould not automatically link package :'+
6868
err.stack +
6969
'please follow the instructions to manually link the library : ' +
70-
'\033[4mhttps://github.com/wkh237/react-native-fetch-blob/wiki/Manually-Link-Package\n')
70+
'\033[4mhttps://github.com/joltup/rn-fetch-blob/wiki/Manually-Link-Package\n')
7171
}

0 commit comments

Comments
 (0)
Please sign in to comment.