fluttercommunity / fluttercommunity/flutter_webview_plugin

Webview dont load for Android with new flutter version

Ouverte
#973 3 commentaires 1 réaction 0 personnes assignées Voir sur GitHub
Langage dominant
Java
Étoiles
1.5k
Forks
938
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

## 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

```
```

```
```

```
```

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

Reproduisez l’échec dans un nouveau projet Flutter avec Flutter 3.24.0 et le plugin Android. Commencez par FlutterWebviewPlugin.launch dans flutter_webview_plugin/src/base.dart:217 et suivez le canal de méthodes flutter_webview_plugin jusqu’à l’implémentation Android. C’est terminé lorsqu’une webview quelconque peut être lancée sur Android sans MissingPluginException.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
android, flutter, java
Domaine
mobile
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
32/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.