fluttercommunity / fluttercommunity/flutter_webview_plugin
Listener for unmanaged file extensions.
- Lingua principale
- Java
- Stelle
- 1.5k
- Fork
- 938
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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
}
}
```
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.