Browse Source

Update RNFetchBlobFS.java

wkh237 8 years ago
parent
commit
d6615e4328
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      src/android/src/main/java/com/RNFetchBlob/RNFetchBlobFS.java

+ 2
- 1
src/android/src/main/java/com/RNFetchBlob/RNFetchBlobFS.java View File

29
         this.mCtx = ctx;
29
         this.mCtx = ctx;
30
         this.emitter = ctx.getJSModule(DeviceEventManagerModule.RCTDeviceEventEmitter.class);
30
         this.emitter = ctx.getJSModule(DeviceEventManagerModule.RCTDeviceEventEmitter.class);
31
     }
31
     }
32
-
32
+    
33
+    // TODO : make it an AsyncTask
33
     public void readStream(String taskId, String encoding) {
34
     public void readStream(String taskId, String encoding) {
34
         try {
35
         try {
35
 
36