fluttercommunity / fluttercommunity/flutter_webview_plugin

Webview dont load for Android with new flutter version

Aperta
#973 3 commenti 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
Java
Stelle
1.5k
Fork
938
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

## System info

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

```
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.24.0, on macOS 13.6.1 22G313 darwin-x64, locale pt-BR)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[!] Xcode - develop for iOS and macOS (Xcode 15.0.1)
! CocoaPods 1.11.2 out of date (1.13.0 is recommended).
CocoaPods is a package manager for iOS or macOS platform code.
Without CocoaPods, plugins will not work on iOS or macOS.
For more info, see https://flutter.dev/to/platform-plugins
To update CocoaPods, see https://guides.cocoapods.org/using/getting-started.html#updating-cocoapods
[✓] Chrome - develop for the web
[✓] Android Studio (version 2020.3)
[✓] VS Code (version 1.92.1)
[✓] Connected device (3 available)
[✓] Network resources
```

## Steps to Reproduce

I upgraded Flutter to the latest stable version (Flutter 3.24.0 • channel stable).
Then created a new default flutter project and installed the plugin.

When I click to open the webview (any of them) I get the error:

E/flutter (15045): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: MissingPluginException(No implementation found for method launch on channel flutter_webview_plugin)
E/flutter (15045): #0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:332:7)
E/flutter (15045):
E/flutter (15045): #1 FlutterWebviewPlugin.launch (package:flutter_webview_plugin/src/base.dart:217:5)
E/flutter (15045):
E/flutter (15045):

It works fine with IOS.
commands like 'flutter clean run' or deleting pubspec.lock didn't work.

## Logs

```
```

```
```

```
```

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.