juicycleff / flutter-unity-view-widget

Embeddable unity game engine view for Flutter. Advance demo here https://github.com/juicycleff/flutter-unity-arkit-demo
BSD 3-Clause "New" or "Revised" License
2.13k stars 518 forks source link

Facing an issue with webviex version mismatch with webview_flutter version using flutter version 3.7.2 #825

Closed soma9017 closed 9 months ago

soma9017 commented 1 year ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to pubspec.yaml
  2. Click on dependencies and add webview_flutter: ^4.0.7 to your dependencies
  3. tap on flutter pub get
  4. See error

Expected behavior Flutter should start building

Screenshots If applicable, add screenshots to help explain your problem. image

Unity (please complete the following information):

Additional context Add any other context about the problem here.

timbotimbo commented 1 year ago

Check pull request #761 which fixed #738.

I merged a fix into master, but I don't have access to actually update the plugin. Either use the master branch directly or use the dependency override workaround.

pubspec.yaml

dependency_overrides:
  webview_flutter: [VERSION_YOU_NEED]
soma9017 commented 1 year ago

Thanks @timbotimbo i made the same changes locally it's working but can we expect a fix for this in the upcoming versions..?

timbotimbo commented 9 months ago

Looks like pub.dev got a version 2022.2.1 and it includes the linked PR.