A non-visible extension that retrieves the internet connection status of the device. Helps you to check if the device is using WiFi connection, roaming, mobile or VPN, and checks access to the Ethernet.
Other users have already made an extension using IsVPNConnected block. I don't know if you can use ActivityStarter or Web to check if the device is using roaming or connected to Wi-Fi.
For now, the extension does not support Android versions > 8 (API > 27). I'll find solutions that work.
Current Version: 6
File Size 6.91 KB
com.gordonlu.network.Network
Created On 2021-12-28
Blocks
IsEthernetConnected
Tests if device is connected to the Ethernet.
Returns: boolean
IsMobileConnected
Tests if device is using mobile connection.
Returns: boolean
IsRoaming
Tests if device is using roaming.
Returns: boolean
Supports Android > 8.
IsVPNConnected
Tests if device is using a VPN (virtual private network).
@gordonlu310 la cosa strana รจ che se provo la tua estensione attraverso un If annidato..il responso รจ sempre "Roaming attivo"; mentre utilizzando un if singolo, allora riconosce la connessione WiFi. :pensiero: