Browse Source

Fix prelink script

Ben Hsieh 8 years ago
parent
commit
422d715431
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/scripts/prelink.js

+ 1
- 1
src/scripts/prelink.js View File

37
 
37
 
38
 if(VERSION < 0.28) {
38
 if(VERSION < 0.28) {
39
   console.log('You project version is '+ VERSION + 'which does not meet requirement of react-native-fetch-blob 7.0+, please upgrade your application template to react-native 0.27+, otherwise Android application will not working.')
39
   console.log('You project version is '+ VERSION + 'which does not meet requirement of react-native-fetch-blob 7.0+, please upgrade your application template to react-native 0.27+, otherwise Android application will not working.')
40
-  add OkHttp3 dependency fo 0.28- project
40
+  // add OkHttp3 dependency fo 0.28- project
41
   var main = fs.readFileSync(PACKAGE_GRADLE);
41
   var main = fs.readFileSync(PACKAGE_GRADLE);
42
   console.log('adding OkHttp3 dependency to pre 0.28 project .. ')
42
   console.log('adding OkHttp3 dependency to pre 0.28 project .. ')
43
   main = String(main).replace('//{RNFetchBlob_PRE_0.28_DEPDENDENCY}', "compile 'com.squareup.okhttp3:okhttp:3.4.1'");
43
   main = String(main).replace('//{RNFetchBlob_PRE_0.28_DEPDENDENCY}', "compile 'com.squareup.okhttp3:okhttp:3.4.1'");