-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ANDROID] Importing from "Downloads" folder #698
Comments
@zipou Selecting images from download folder its working for me,
|
Hello, 07-16 14:34:55.853 21828-21828/? E/BitmapFactory: Unable to decode stream: java.io.FileNotFoundException: /data/user/0/com.android.providers.downloads/cache/right3.png (Permission denied) It happens on android 8, and all permissions are granted. |
Any update on this? |
@srinusonly the only way I could get this working was to update the libraries - react-native, react-native-image-crop-picker, all the libraries |
This issue is fixed for me in the latest version of this library (0.20.3) |
"react-native-image-crop-picker": "^0.23.0", |
@ivpusic @zipou is there a fix for this yet? I get same error message as @anda-nenu-clarisoft. |
@ivpusic and @hich-dev so I got it to work using new ucrop version 2.2.3
Please pay attention to the 3rd line Thanks so much |
|
Thanks @zcgit |
Hello,
I wanted to report something while I tried to import pictures from the "Download" folder.
I think there may be something I don't get yet about Android API libs and dependencies but in case someone already have or had a similar issue...
Version
Tell us which versions you are using:
Platform
minSdkVersion 16
targetSdkVersion 23
implementation 'com.android.support:appcompat-v7:27.1.0'
Expected behaviour
I pick a photo from the Download folder on Android
Actual behaviour
Steps to reproduce
openPicker({
multiple: true,
maxFiles: 24,
includeBase64: false,
waitAnimationEnd: false,
showLoader: false,
includeExif: true,
mediaType: 'photo',
})
Select photo from "Download" folder (see 'capture d ecran 2018-05-15 a 17 52 12')
Attachments
// stacktrace or any other useful debug info
"For input string: "raw:/storage/emulated/0/Download/IMG_0005.JPG""
code : "E_NO_IMAGE_DATA_FOUND"
framesToPop: 1
"Error: For input string: "raw:/storage/emulated/0/Download/IMG_0005.JPG"
at createErrorFromErrorData (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=true&minify=false:1735:15)
The text was updated successfully, but these errors were encountered: