fluttercommunity / flutter_webview_plugin

Community WebView Plugin - Allows Flutter to communicate with a native WebView.
https://pub.dev/packages/flutter_webview_plugin
Other
1.48k stars 929 forks source link

Deprecated version #940

Open Brencheva opened 2 years ago

Brencheva commented 2 years ago

During the running I see the error in console:

The plugin flutter_webview_plugin uses a deprecated version of the Android embedding. To avoid unexpected runtime failures, or future build failures, try to see if this plugin supports the Android V2 embedding. Otherwise, consider removing it since a future release of Flutter will remove these deprecated APIs. If you are plugin author, take a look at the docs for migrating the plugin to the V2 embedding: https://flutter.dev/go/android-plugin-migration. Please, upgrade the plugin

System info

Issue occurs on: Android Plugin version: 0.4.0 Flutter doctor output:


Flutter (Channel stable, 2.8.0, on macOS 11.6.1 20G224 darwin-x64, locale en-PL)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 13.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.1)
[✓] IntelliJ IDEA Ultimate Edition (version 2020.3)
[✓] VS Code (version 1.63.0)
[✓] Connected device (2 available)```

## Steps to Reproduce

1. Just run any app with Flutter version 2.8.0. Android 30.0.3
rkpontes commented 2 years ago

Same thing happened to me.

omateuscastro commented 2 years ago

Same here.

JanXiang commented 2 years ago

Same with me.

hatemragab commented 2 years ago

any updates?

Brencheva commented 2 years ago

Nope. I've just deleted the plugin

Bhat015 commented 2 years ago

Which alternative plugin did you use @Brencheva ?

rraman424 commented 2 years ago

same here

Brencheva commented 2 years ago

@Bhat015 I needed this plugin only for Facebook authorisation 2 years ago. But now I’ve just updated their flow and there is no need with the plugin anymore at all. But if you find smth, please, let me know

hewa-jalal commented 2 years ago

same here

pltlg commented 2 years ago

same here

snoopdoggy322 commented 2 years ago

Duplicate of #921

Princewil commented 2 years ago

Hey guys, pls a quick question.

Does flutter web view open all site?? Because I used the webview_flutter package and I observed that it opens some sites like google.com but didn't opening some few other sites.

Pls I need answers 🙏🏼🙏🏼

paulobreim commented 2 years ago

I think it's absurd for someone to make a lib and simply not give satisfaction to users and abandon

Bhagat8533 commented 1 year ago

You can use my repo

flutter_webview_plugin:
    git:
      url: https://github.com/Bhagat8533/flutter_webview_plugin # Repo
      ref: master  # Branch name
huyvpc commented 1 year ago

You can use my repo

flutter_webview_plugin:
    git:
      url: https://github.com/Bhagat8533/flutter_webview_plugin # Repo
      ref: master  # Branch name

I tried with your repo and it work but onStateChanged's not trigger by default. Screen keep waiting if hidden value was true. Swipe back and reopen app then it work. Do you have any directions?