-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Android absolute path issue #118
Comments
Created a PR to address this issue #120. @N7ghtm4r3 Could you take a look at the change and maybe test it on your device and the image that was causing the issue to see if it works properly now? |
Hi, I saw the changes and I think should be the correct implementation because seems like the |
No rush. Let me know when you get to try it, just want to make sure the fix is correct. |
Yes sure! |
Sorry for the delay, I have tested it now, but unfortanly this is the result:
from: |
The |
@N7ghtm4r3 Can you test out the new commit? It should do the same as your workaround, but without reading the whole file |
Yes sure! |
Really great job! It works now Thank you! |
Good to know, a bit weird that we have to actually create the file and check its path from there when the file can be opened with the name, but idk, Android stuff |
Yes I think the same, really weird |
Hi, when will the fix be released? |
Hi! I'm going to create a new release today with the fix 👌 |
Hi, I'm using the library on a KMP project, and when I try to get the absolute path of a picture (when it has been selected with the picker)
the Android's application crashes with the following exception:
java.io.FileNotFoundException: /picker/0/com.android.providers.media.photopicker/media/1000000042: open failed: ENOENT (No such file or directory) at libcore.io.IoBridge.open(IoBridge.java:574) at java.io.FileInputStream.<init>(FileInputStream.java:160) at kotlin.io.FilesKt__FileReadWriteKt.readBytes(FileReadWrite.kt:69)
This is similar to this issue, I missed out something in the configuration?
The text was updated successfully, but these errors were encountered: