-
-
Notifications
You must be signed in to change notification settings - Fork 97
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
Absolute or full file path returns blank/empty string #89
Comments
Retrieving absolute path on scoped storage is useless. Even though you have success to get the path, you can't do anything because scoped storage allows file management with URI only. Please read FAQ File path returns empty string |
Hello @anggrayudi For me, retrieving the absolute path is not useless, if is it possible another way it's better for me and other users otherwise this library is ...... Please let me know if possible absolute path. Thanks. |
I can't understand why people forcing me to make this library works with direct file paths. This library is just a wrapper for the scoped storage APIs. I have mentioned in the FAQ that it is not the library limitation, but the operating system itself. So, if you want to make your app works well with direct file paths (
I did many research in writing this library. It is a trash for people who don't understand how scoped storage works. You can search other libraries that manage scoped storage like Simple Storage. Unfortunately, they report the same thing as I have faced. |
Well, this scoped storage is trash...... so is shitty ggle. |
Library version: 1.3.0
OS version: [Android 11]
Device model: [Google Pixel 4a]
I pick the image and try to get the image absolute path but not working, please check the below code:
filePath = DocumentFileUtils.getAbsolutePath(files.get(0), requireContext())
Using the above line path gets blank, check below attach SS.
The text was updated successfully, but these errors were encountered: