Provide additional Network Connection Information like signal strength, upstream and downstream
Feature Request
Get additional details on the network state, like signal strength, upstream and downstream.
Plugin
@capacitor/network
Description
I would like to get more information about the Network State. Currently we only have the connection type and connection status. It would be nice to get more available information. Sadly i am not sure about the possibilities on IOs, but on Android a lot of information is available on the NetworkCapabilities class. In Web we can take the information from the Network Information API.
Platform(s)
- Android -> NetworkCapabilities
- IOS -> not Sure about the available information
- WEB -> The Network Information API is not widely supported yet
Preferred Solution
Add the additional Information to the ConnectionStatus interface
Alternatives
Just Relying on Connected or not connected. Or Implementing ping algorithms.
Additional Context
Can anybode help me with this issue? there is a Pull Request which implements the web and android part. I can not implement the IOS part.
i'm VERY interested in this feature, though i can't do it myself
I would love to see it done
Android definitely gives the signal strength information, it would be great to have at least that in Network too
Web offers navigator.connection.effectiveType which is perfect, though it's not supported in all browsers, so that might be a problem.