-
Notifications
You must be signed in to change notification settings - Fork 27.8k
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
[webview_flutter] Contributions require special tooling #152352
Comments
@sumanthratna I also tried on 3.22.3. Can you try to run through XCode and see if you get same error or not ? |
@bparrishMines If it's plausible for someone sufficiently motivated to update things now, e.g., by using a branch, maybe you could post those instructions here, in case anyone really wants to try in the interim? If not though, we can just track this being unblocked probably in August. |
Thanks for your reply @stuartmorgan! @bparrishMines I don't mind waiting a few months to create the actual PR (i.e., until tooling work is finished), but would greatly appreciate instructions on how I can properly run the current tooling locally, as the feature I am working on is an urgent need. |
@sumanthratna The Flutter team also uses I ran into the same issue when regenerating and it looks like it was due to a bug that was fixed in This should work for you until the wrapper is rewritten with flutter/packages#6602 next month. |
Thanks @bparrishMines. Will keep an eye out for the new Pigeon implementation. I suppose we could close this issue then? But if you all have a spare cycle I might suggest a quick addition to the README to note that webview_flutter is mid-transition and link to this issue. I saw that the last commit was 2 months ago and assumed that package development was stable/reliable now. I would send a PR myself but I think I lack context on rationale for this whole set of changes |
We can keep this open to ensure that I come back to create a comprehensive |
This issue is assigned to @bparrishMines but has had no recent status updates. Please consider unassigning this issue if it is not going to be addressed in the near future. This allows people to have a clearer picture of what work is actually planned. Thanks! |
Android has already been updated with a |
What package does this bug report belong to?
webview_flutter
What target platforms are you seeing this bug on?
iOS
Have you already upgraded your packages?
Yes
Dependency versions
N/A
Steps to reproduce
git clone [email protected]:flutter/packages.git --depth 1
cd packages/packages/webview_flutter/webview_flutter_wkwebview
dart run pigeon --input pigeons/web_kit.dart
cd example/
flutter run
Expected results
The example app opens in the simulator without issue.
Actual results
When I run
flutter run
, I get an error caused by incorrect Pigeon codegen results.When I run
flutter run
without runningdart run pigeon --input pigeons/web_kit.dart
, the example app opens without issue.When I pin pigeon to 13.0.0, Pigeon still produces incorrect codegen results.
When I fix the mistake manually across all the generated files,
flutter run
succeeds.I want to submit a PR to the webview_flutter package to implement a feature I need (flutter_inappwebview is not an alternative at the moment, since it does not provide a Privacy Manifest). I'd love to be able to contribute but am stuck as to why I can't run pigeon correctly.
What is the command that the Flutter team uses to run Pigeon for this package?
Code sample
N/A
Screenshots or Videos
N/A
Logs
flutter run Logs
This is the diff produced by running Pigeon: pigeon.patch
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: