Skip to content
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

[MIGARATE] Migrate to latest webview_flutter plugin to 4.0.0 version #1206

Closed
bhanuka96 opened this issue Dec 19, 2022 · 11 comments · Fixed by #1176
Closed

[MIGARATE] Migrate to latest webview_flutter plugin to 4.0.0 version #1206

bhanuka96 opened this issue Dec 19, 2022 · 11 comments · Fixed by #1176
Labels
bug Something isn't working

Comments

@bhanuka96
Copy link

There is a new version release by webview_flutter team. Can you migrate this plugin to latest?

Follow this guideline to migrate. link

@bhanuka96 bhanuka96 added the bug Something isn't working label Dec 19, 2022
@AlexTeamX
Copy link

I think it's no longer maintained

@robotoss
Copy link

robotoss commented Jan 27, 2023

@bhanuka96
Made changes to support v4

#1220

Temporarily you can use it like this:

dependency_overrides:
  flutter_html:
    git:
      url: https://github.com/robotoss/flutter_html
      ref: feature/temp_plugin_use

@dragongesa
Copy link

dragongesa commented Feb 1, 2023

can you do with flutter_html_all ? how to overrides flutter_html_all, because everytime i add path it always said Could not find a file named "packages/pubspec.yaml"

@robotoss

@bhanuka96
Copy link
Author

I use flutter_widget_from_html_core plugin instead of this.

@robotoss
Copy link

robotoss commented Feb 1, 2023

can you do with flutter_html_all ? how to overrides flutter_html_all, because everytime i add path it always said Could not find a file named "packages/pubspec.yaml"

@robotoss

If you need to use tableRender you can use like that:

Add to pubspec.yaml

flutter_html_table:
    git:
      url: https://github.com/robotoss/flutter_html
      path: packages/flutter_html_table
      ref: feature/temp_plugin_use

And to you code:

import 'package:flutter_html_table/flutter_html_table.dart';

Html(customRenders: {tableMatcher(): tableRender()}),

@robotoss
Copy link

robotoss commented Feb 1, 2023

I use flutter_widget_from_html_core plugin instead of this.

Good alternative, but unfortunately there are projects that I can't refactor to new dependencies right now.
So I decided to make a fork with fixes and share it

@dragongesa
Copy link

can you do with flutter_html_all ? how to overrides flutter_html_all, because everytime i add path it always said Could not find a file named "packages/pubspec.yaml"
@robotoss

If you need to use tableRender you can use like that:

Add to pubspec.yaml

flutter_html_table:
    git:
      url: https://github.com/robotoss/flutter_html
      path: packages/flutter_html_table
      ref: feature/temp_plugin_use

And to you code:

import 'package:flutter_html_table/flutter_html_table.dart';

Html(customRenders: {tableMatcher(): tableRender()}),

I need the flutter_html_all, but seems there is bug in pubspec. So i cant add that

@dragongesa
Copy link

i need the videoMatcher

@robotoss
Copy link

robotoss commented Feb 1, 2023

i need the videoMatcher

Corrected the paths
You can use by:

flutter_html_all:
    git:
      url: https://github.com/robotoss/flutter_html
      path: packages/flutter_html_all
      ref: feature/temp_plugin_use

@dragongesa
Copy link

cool, now i can. Thanks a lot @robotoss

@Sub6Resources
Copy link
Owner

Upgraded versions coming out this week if all goes well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants