We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52d0045 commit ecbea01Copy full SHA for ecbea01
README.md
@@ -565,9 +565,14 @@ RNFetchBlob.config({
565
```
566
567
## React Native developers to access android device path for app bundle
568
+
569
+```js
570
NativeModules.RNFetchBlob.getAppDir((error, path) => {
571
572
//here path is your apps directory in mobile device
573
574
RNFetchBlob
575
576
.config({
577
addAndroidDownloads : {
578
useDownloadManager : true, // <-- this is the only thing required
@@ -585,7 +590,7 @@ RNFetchBlob.config({
585
590
resp.path()
586
591
})
587
592
588
-
593
+```
589
594
In case error appears or app crash just go to
595
AndroidMaifest.xml file and add
596
<uses-permission android:name="android.permission.DOWNLOAD_WITHOUT_NOTIFICATION" />
0 commit comments