fluttercommunity / fluttercommunity/plus_plugins
[Request]: [connectivity_plus] Get network state regardless of internet connection
- Lenguaje dominante
- Dart
- Estrellas
- 1.9k
- Forks
- 1.3k
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
### Plugin
connectivity_plus
### Use case
I would like to check, whether Wi-Fi is turned on or off. I don't care, if there is an internet connection available or not. Same for mobile data.
Currently when I have Wi-Fi enabled but it's not connected to any network, I get `ConnectivityResult.none`.
### Proposal
I'd expect the `Connectivity::checkConnectivity()` method to return which hardware features (Wi-Fi, mobile data) are turned on and not through which hardware the internet connection is established.
Maybe another method would suite that use case better like
```
Future> getConnectivityHardwareStates()
```
Guía de contribución
Línea de trabajo
Comienza leyendo el plugin connectivity_plus y la API existente Connectivity::checkConnectivity() descrita en el issue. Compara el comportamiento actual de ConnectivityResult.none con la API de estado del hardware propuesta en las plataformas compatibles. Se considera terminado cuando los estados previstos de Wi-Fi y datos móviles estén claramente definidos y expuestos sin depender de la conectividad a Internet.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- dart, flutter
- Área
- api, mobile-dev
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 25/100