react-native-blob-util 0.21.1 → 0.21.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,6 +11,8 @@ import com.facebook.react.module.model.ReactModuleInfoProvider;
11
11
  import java.util.HashMap;
12
12
  import java.util.Map;
13
13
 
14
+ // trick autolinking till it is fixed on RN side
15
+ //public class ReactNativeBlobUtilPackage extends TurboReactPackage {
14
16
  public class ReactNativeBlobUtilPackage extends BaseReactPackage {
15
17
 
16
18
  @Nullable
@@ -238,10 +238,6 @@ public class ReactNativeBlobUtilReq extends BroadcastReceiver implements Runnabl
238
238
  @Override
239
239
  public void run() {
240
240
  Context appCtx = ReactNativeBlobUtilImpl.RCTContext.getApplicationContext();
241
- String t123 = String.valueOf(options.addAndroidDownloads.hasKey("storeLocal"));
242
- String t1234 = String.valueOf(options.addAndroidDownloads.getBoolean("storeLocal"));
243
- RNLog.w(ReactNativeBlobUtilImpl.RCTContext, t123);
244
- RNLog.w(ReactNativeBlobUtilImpl.RCTContext, t1234);
245
241
  // use download manager instead of default HTTP implementation
246
242
  if (options.addAndroidDownloads != null && options.addAndroidDownloads.hasKey("useDownloadManager")) {
247
243
 
@@ -279,7 +275,6 @@ public class ReactNativeBlobUtilReq extends BroadcastReceiver implements Runnabl
279
275
 
280
276
 
281
277
  if (options.addAndroidDownloads.hasKey("storeLocal") && options.addAndroidDownloads.getBoolean("storeLocal")) {
282
- RNLog.w(ReactNativeBlobUtilImpl.RCTContext, "a");
283
278
  String path = (String) ReactNativeBlobUtilFS.getSystemfolders(ReactNativeBlobUtilImpl.RCTContext).get("DownloadDir");
284
279
  path = path + UUID.randomUUID().toString();
285
280
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-blob-util",
3
- "version": "0.21.1",
3
+ "version": "0.21.2",
4
4
  "description": "A module provides upload, download, and files access API. Supports file stream read/write for process large files.",
5
5
  "main": "index",
6
6
  "scripts": {