-
Notifications
You must be signed in to change notification settings - Fork 624
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
fix #1335: fix intent flag from ACTION_GET_CONTENT to ACTION_OPEN_DOCUMENT #1336
Conversation
@miguelpruivo |
Hi, what were the reason behind this change? |
My guess would be the |
ping on this |
1 similar comment
ping on this |
@miguelpruivo |
I'm afraid to merge this change because I believe it could introduce breaking changes for a lot of users. I don't see a lot of traction on this issue, and if this was the case (for most) that would mean that a lot of devs would be pinging on this. On the other hand, I'm not sure if changing to OPEN_DOCUMENT will introduce more issues than solve, because we are actually getting (GET_CONTENT) here to get the raw files, not opening. The OPEN_DOCUMENT is more intended to launch the file, rather than manipulating its data from what I understood. |
@miguelpruivo what about making this optional, to use Intent.ACTION_OPEN_DOCUMENT or Intent.ACTION_GET_CONTENT? |
This PR seems to introduce changes similar to #1380 so I'll mention it here too: it seems that this change breaks file picker on some older Android versions, at least on Android 9. #1380 (comment) |
Dup of #1380. |
@miguelpruivo, this doesn't seem to be a duplicate of #1380: #1380 has more changes. Are they consequential? We have had to use muttsu-623's flutter_file_picker for Android because of this issue, but muttsu-623's fork has Windows issues. So today I forked this and made cypherstack/flutter_file_picker which is your 8.0.3 + muttsu-623's single change: muttsu-623@f0930d9 This PR should be merged. Does it need changes? |
fix #1335: fix intent flag from ACTION_GET_CONTENT to ACTION_OPEN_DOCUMENT