Closed Silverviql closed 7 months ago
You'll have to provide more information.
@miquelbeltran
Hi, I think there's some confusion here.
The plugin provides information about internet/network connectivity using iOS NWPathMonitor
.
The possible values NWPathMonitor
can provide are:
case wifi The network interface type used for communication over Wi-Fi networks. case cellular The network interface type used for communication over cellular networks. case wiredEthernet The network interface type used for communication over wired Ethernet networks. case loopback The network interface type used for communication over local loopback networks. case other The network interface type used for communication over virtual networks or networks of unknown types.
Which does not include bluetooth.
The only case where Bluetooth connectivity can be reported by the plugin is when using it in a Linux desktop app, as is the only implementation that supports reading Bluetooth network connectivity devices.
I think this answers the question you have. Let me know if you need further clarification.
edit: update on bluetooth support on ios
@miquelbeltran But I didn't find in doc who ConnectivityResult.bluetooth anywhere for Linux only.
That's fair, I think we should document which cases can be supported on each platform because it is inconsistent, as it depends on what the platform offers.
Created a ticket for that: https://github.com/fluttercommunity/plus_plugins/issues/2776
@miquelbeltran in package flutter_blue_plus it is possible to monitor the status of bluetooth. Maybe in the future such functionality will appear in your plugin
What is your question?
I see a change in wifi status, but the bluetooth status does not work
I check on a physical device via usb iPhone 12 version ios: 16.6.1
Checklist before submitting a question
flutter pub upgrade
flutter clean