Android Setup
Copy a setup prompt with the install steps and the full markdown guide for this plugin.
The plugin declares the required Android permissions automatically:
<uses-permission android:name="android.permission.INTERNET" /><uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />Native behavior
Section titled “Native behavior”- Connection status uses
ConnectivityManagerandNetworkCapabilities. - URL and download tests use native
HttpURLConnection. - TCP port tests use native sockets.
- WebSocket tests perform a native WebSocket upgrade handshake over TCP or TLS.
Captive portal and validated internet
Section titled “Captive portal and validated internet”Android can expose whether the active network is internet validated or marked as captive portal capable. These flags help explain cases where the device is connected to Wi-Fi but the app cannot reach your backend.
Cleartext traffic
Section titled “Cleartext traffic”Prefer https:// and wss:// targets. If you need to diagnose a plain http:// or ws:// endpoint on Android 9 or later, the host app may need a Network Security Config or android:usesCleartextTraffic="true" for that diagnostic target.