Browse Source

Update README.md

wkh237 8 years ago
parent
commit
99b10a96f5
1 changed files with 8 additions and 0 deletions
  1. 8
    0
      README.md

+ 8
- 0
README.md View File

@@ -51,6 +51,14 @@ rnpm link
51 51
 
52 52
 > If you're using react-native >= `0.29.0`, the package might not be able to link through `rnpm link`, and you might see an error screen similar to [#51](https://github.com/wkh237/react-native-fetch-blob/issues/51), this is because [a bug in 0.29.0](https://github.com/facebook/react-native/commit/4dabb575b1b311ba541fae7eabbd49f08b5391b3), someone has already fixed it, but the solution does not work on our project, you may have to manually add the package yourself.
53 53
 
54
+Edit add package to`android/settings.gradle`
55
+
56
+```diff
57
+include ':app'      
58
++ include ':react-native-fetch-blob'                                                         
59
++ project(':react-native-fetch-blob').projectDir = new File(rootProject.projectDir,' ../node_modules/react-native-fetch-blob/android')                        
60
+```
61
+
54 62
 Add this code to `MainApplication.java`
55 63
 
56 64
 ```diff