Skip to content
This repository has been archived by the owner on Mar 16, 2019. It is now read-only.

Commit

Permalink
Fix prelink script
Browse files Browse the repository at this point in the history
  • Loading branch information
wkh237 committed Aug 10, 2016
1 parent 919c775 commit 422d715
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/prelink.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ if(VERSION >= 0.29) {

if(VERSION < 0.28) {
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.')
add OkHttp3 dependency fo 0.28- project
// add OkHttp3 dependency fo 0.28- project
var main = fs.readFileSync(PACKAGE_GRADLE);
console.log('adding OkHttp3 dependency to pre 0.28 project .. ')
main = String(main).replace('//{RNFetchBlob_PRE_0.28_DEPDENDENCY}', "compile 'com.squareup.okhttp3:okhttp:3.4.1'");
Expand Down

0 comments on commit 422d715

Please sign in to comment.