fluttercommunity / fluttercommunity/plus_plugins

[Request]: connectivity_plus on linux: use systemd-networkd as fallback when network-manager isn't available

Open
#1,451 1 comment 4 reactions 0 assignees View on GitHub
enhancement triage
Dominant language
Dart
Stars
1.9k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

### Plugin

connectivity_plus

### Use case

connectivity_plus currently relies solely on network-manager to check for a connection under linux. If network-manager isn't available or the network is managed in a different way, connectivity_plus will always think there's no connection available.
See https://github.com/fluttercommunity/plus_plugins/issues/1304, https://github.com/ubuntu-flutter-community/software/issues/674

### Proposal

It would be great to support some alternatives that can be used as a fallback in case network-manager isn't available. A sensible option would be systemd-networkd, which can be accessed through the [`org.freedesktop.network1` DBus interface](https://www.freedesktop.org/software/systemd/man/org.freedesktop.network1.html).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.