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.
2 parents 8fb92ba + b9172bb commit b41cfb7Copy full SHA for b41cfb7
android/src/main/java/com/RNFetchBlob/Utils/PathResolver.java
@@ -1,5 +1,6 @@
1
package com.RNFetchBlob.Utils;
2
3
+import android.annotation.TargetApi;
4
import android.content.Context;
5
import android.database.Cursor;
6
import android.net.Uri;
@@ -15,6 +16,7 @@
15
16
import java.io.FileOutputStream;
17
18
public class PathResolver {
19
+ @TargetApi(19)
20
public static String getRealPathFromURI(final Context context, final Uri uri) {
21
22
final boolean isKitKat = Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT;
0 commit comments