|
@@ -121,6 +121,8 @@ public class RNFetchBlob extends ReactContextBaseJavaModule {
|
121
|
121
|
// All the activity to be opened outside of an activity
|
122
|
122
|
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
123
|
123
|
|
|
124
|
+ // All the activity to be opened outside of an activity
|
|
125
|
+ intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
124
|
126
|
// Validate that the device can open the file
|
125
|
127
|
PackageManager pm = getCurrentActivity().getPackageManager();
|
126
|
128
|
if (intent.resolveActivity(pm) != null) {
|
|
@@ -411,4 +413,4 @@ public class RNFetchBlob extends ReactContextBaseJavaModule {
|
411
|
413
|
public void getSDCardApplicationDir(Promise promise) {
|
412
|
414
|
RNFetchBlobFS.getSDCardApplicationDir(this.getReactApplicationContext(), promise);
|
413
|
415
|
}
|
414
|
|
-}
|
|
416
|
+}
|