|
@@ -47,15 +47,15 @@ Link package using [rnpm](https://github.com/rnpm/rnpm)
|
47
|
47
|
rnpm link
|
48
|
48
|
```
|
49
|
49
|
|
50
|
|
-### For React Native >= 0.29.0 (Android)
|
|
50
|
+### Manually link package
|
51
|
51
|
|
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.
|
|
52
|
+If rnpm link command failed to link the package automatically, you might try manually link the package.
|
53
|
53
|
|
54
|
54
|
Edit add package to`android/settings.gradle`
|
55
|
55
|
|
56
|
56
|
```diff
|
57
|
57
|
include ':app'
|
58
|
|
-+ include ':react-native-fetch-blob'
|
|
58
|
++ include ':react-native-fetch-blob'
|
59
|
59
|
+ project(':react-native-fetch-blob').projectDir = new File(rootProject.projectDir,' ../node_modules/react-native-fetch-blob/android')
|
60
|
60
|
```
|
61
|
61
|
|