fluttercommunity / fluttercommunity/flutter_webview_plugin
Listener for unmanaged file extensions.
- Lenguaje dominante
- Java
- Estrellas
- 1.5k
- Forks
- 936
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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
}
}
```
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- dart, flutter
- Área
- mobile
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100