fluttercommunity / fluttercommunity/flutter_webview_plugin

Listener for unmanaged file extensions.

Offen
#777 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Java
Sterne
1.5k
Forks
938
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Hi, I think it could be very useful to manage other types of file.

I tried to open txt files, mp3 files and it seems fine. What about pdf, doc etc???

I would like to download (or open in a different app) for example pdf files but at the moment the listener cannot listen to this extensions...
```
flutterWebviewPlugin.onUrlChanged.listen((String url) async {
if (url.contains('.pdf')) {
print(url); //This print is never done
}
if (url.contains('.doc')) {
print(url); //This print is never done
}
if (url.contains('mailto:')) {
print(url); //This print is ok
}
if (url.contains('.txt')) {
print(url); //This print is ok
}
if (url.contains('.mp3')) {
print(url); //This print is ok
}
}
```

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Start from the flutterWebviewPlugin.onUrlChanged listener shown in the issue and reproduce navigation to PDF and DOC URLs, comparing it with the working mailto, TXT, and MP3 cases. Done means the listener can observe unmanaged file-extension URLs so the application can download them or open them in another app.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
dart, flutter
Bereich
mobile
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.