File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
android/src/main/java/com/reactnativecommunity/imageeditor Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 2323import java .util .Map ;
2424
2525import android .annotation .SuppressLint ;
26+ import android .content .ContentResolver ;
2627import android .content .Context ;
2728import android .database .Cursor ;
2829import android .graphics .Bitmap ;
@@ -56,7 +57,10 @@ public class ImageEditorModule extends ReactContextBaseJavaModule {
5657 protected static final String NAME = "RNCImageEditor" ;
5758
5859 private static final List <String > LOCAL_URI_PREFIXES = Arrays .asList (
59- "file://" , "content://" );
60+ ContentResolver .SCHEME_FILE ,
61+ ContentResolver .SCHEME_CONTENT ,
62+ ContentResolver .SCHEME_ANDROID_RESOURCE
63+ );
6064
6165 private static final String TEMP_FILE_PREFIX = "ReactNative_cropped_image_" ;
6266
You can’t perform that action at this time.
0 commit comments