-
Notifications
You must be signed in to change notification settings - Fork 9.8k
[webview_flutter] fix not working choose file #2245
Conversation
Only applicable to android5.0 or above
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here with What to do if you already signed the CLAIndividual signers
Corporate signers
ℹ️ Googlers: Go here for more info. |
@googlebot I signed it! |
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
I hope to merge soon. How can I try this version in my project? |
Hello,
|
@NorbertSzydlowski This is a known problem, it will go to the first filePathCallback every time, I think it has something to do with the mechanism of flutter, you can set up the public static filePathCallback in the WebViewFlutterPlugin to solve it, but I don't think it's an elegant solution |
@crazecoder Second problem is selected multiple files.
It isn't correct get URI from Intent. I have been used this method (from flutter_webview_plugin):
|
@NorbertSzydlowski @crazecoder how to use this PR before it's merged? |
@fyeeme select PR as dependency |
希望修复 |
Is there any chance that the fix will be delivered in the next few days? |
Any progress? This issue is a REAL pain. |
Please stop commenting on problems
The best option is to add this emoji 👍 in the initial comment. To see a priority of each issue, we can see in which Milestone the issue is added. This issue belongs
|
We apologize for the long delay in triaging this PR. We’re in the process of overhauling our PR triage system to respond much more quickly, as well as working through the backlog.
Per Flutter policy, this will need tests before it can move forward; I believe that means it is blocked on the Also, could you could elaborate on the discussion above? If this crashes when used more than once, then it doesn't sound like it's ready for review. Is there a blocking issue preventing fixing that crash? |
Since this hasn't received any updated based on the comment above, and since the Android implementation of the plugin has been very substantially changed since this PR was created, I'm going to close it as obsolete. If this is still something you are interested in implementing, please feel free to open a new PR! (Or, preferably, collaborate on #3225) |
Description
fix webview_flutter not working choose file
Only applicable to android5.0 or above
Related Issues
flutter/flutter#27924
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes (
[x]
). This will ensure a smooth and quick review process.///
).flutter analyze
) does not report any problems on my PR.Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?