Open andre-paraense opened 2 years ago
tyr this
dependencies: flutter_webview_plugin: git: https://github.com/nuc134r/flutter_webview_plugin.git
I can Confirm this solved my problem on flutter 3.
Nope... i got this error trying your solution @hawkiq
Because aad_oauth 0.3.0 depends on flutter_webview_plugin ^0.4.0 and no versions of aad_oauth match >0.3.0 <0.4.0, aad_oauth ^0.3.0 requires flutter_webview_plugin from hosted.
So, because mwork depends on both aad_oauth ^0.3.0 and flutter_webview_plugin from git, version solving failed.
pub get failed (1; So, because mwork depends on both aad_oauth ^0.3.0 and flutter_webview_plugin from git, version solving failed.)
The issue moved...
Nope... i got this error trying your solution @hawkiq
Because aad_oauth 0.3.0 depends on flutter_webview_plugin ^0.4.0 and no versions of aad_oauth match >0.3.0 <0.4.0, aad_oauth ^0.3.0 requires flutter_webview_plugin from hosted. So, because mwork depends on both aad_oauth ^0.3.0 and flutter_webview_plugin from git, version solving failed. pub get failed (1; So, because mwork depends on both aad_oauth ^0.3.0 and flutter_webview_plugin from git, version solving failed.)
The issue moved...
because you use this package aad_oauth
which depends on flutter_webview_plugin
older version so maybe your problem will stay until resolved by package maintainers, for me I've updated flutter_webview_plugin
to use git source https://github.com/nuc134r/flutter_webview_plugin.git and my app can be built again.
Careful to keep using the webview_plugin even with the nuc134r version in newer flutter project. It will break the Android version
I have not use flutter_webview_plugin project wise but it shows The plugin flutter_webview_plugin
uses a deprecated version of the Android embedding.
can any suggest me how to resolve this???
tyr this
dependencies: flutter_webview_plugin: git: https://github.com/nuc134r/flutter_webview_plugin.git
Where to add it ? Please specify the file in which it needs to be added ?
tyr this
dependencies: flutter_webview_plugin: git: https://github.com/nuc134r/flutter_webview_plugin.git
Where to add it ? Please specify the file in which it needs to be added ?
In pubspec.yaml
instead of writing version number try to write it as they mention
tyr this
dependencies: flutter_webview_plugin: git: https://github.com/nuc134r/flutter_webview_plugin.git
Where to add it ? Please specify the file in which it needs to be added ?
In
pubspec.yaml
instead of writing version number try to write it as they mention
This fix doesn't work.
dependencies: flutter_webview_plugin: git: https://github.com/nuc134r/flutter_webview_plugin.git
I added this in pubspec.yaml instead of writing version number, and the error not showing again, but I cant run my app and I am gett this error:
This version of flutter_webview_plugin will break your Android build if it or its dependencies aren't compatible with AndroidX.
tyr this
dependencies: flutter_webview_plugin: git: https://github.com/nuc134r/flutter_webview_plugin.git
Where to add it ? Please specify the file in which it needs to be added ?
In
pubspec.yaml
instead of writing version number try to write it as they mentionThis fix doesn't work.
same issue
dependencies: flutter_webview_plugin: git: https://github.com/nuc134r/flutter_webview_plugin.git
I added this in pubspec.yaml instead of writing version number, and the error not showing again, but I cant run my app and I am gett this error:
This version of flutter_webview_plugin will break your Android build if it or its dependencies aren't compatible with AndroidX.
try this
flutter build appbundle --no-sound-null-safety
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.
same here
same error now
Same here
Same here
I recommend use webview_flutter plugin instead of this abandoned project.
System info
Issue occurs on: both Plugin version: 0.4.0 Flutter doctor output:
Steps to Reproduce
Just run any application using
flutter_webview_plugin
version0.4.0
after upgrading to Flutter 2.5 and you will get the warning message.Logs