-
Notifications
You must be signed in to change notification settings - Fork 840
Fix: Restore ms[df] URI handling logic #1925
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
Conversation
|
@vicajilau Also, once the comment is addressed, don't forget the changelog / patch version :) |
navaronbracke
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! "Media Store File" and "Media Store Directory" makes way more sense now, thanks!
Restricts the usage of `ACTION_PICK` to `image/*` mime types only. Replaces `ACTION_GET_CONTENT` with `ACTION_OPEN_DOCUMENT` for general file selection to ensure consistent document access.
Adds KDoc documentation to `startFileExplorer` methods to clarify parameters and functionality. Includes inline comments explaining the preference for `ACTION_PICK` for images and `ACTION_OPEN_DOCUMENT` for persistent URI access.
navaronbracke
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One minor doc nit, but otherwise LGTM.
android/src/main/kotlin/com/mr/flutter/plugin/filepicker/FileUtils.kt
Outdated
Show resolved
Hide resolved
|
We can ship this, once the tests pass. |
Co-authored-by: Navaron Bracke <[email protected]>
Restores the ms[df] URI handling logic in FileUtils.kt to fix file selection returning null on some devices. fixes #1922, fixes #1916