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 6923bbb commit bd74d69Copy full SHA for bd74d69
android/src/main/java/com/RNFetchBlob/RNFetchBlobReq.java
@@ -185,7 +185,7 @@ public void run() {
185
}
186
// set headers
187
ReadableMapKeySetIterator it = headers.keySetIterator();
188
- if(options.addAndroidDownloads.hasKey("mediaScannable") && options.addAndroidDownloads.hasKey("mediaScannable")) {
+ if(options.addAndroidDownloads.hasKey("mediaScannable") && options.addAndroidDownloads.getBoolean("mediaScannable")) {
189
req.allowScanningByMediaScanner();
190
191
while (it.hasNextKey()) {
0 commit comments