You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(NetUtil): Add methods to get local and Wi-Fi IP addresses
This commit introduces two new utility functions in `NetUtil.kt` for retrieving device IP addresses.
**Key Changes:**
1. **`getLocalIpAddress()`:**
* A new method that iterates through all active, non-loopback network interfaces (such as Wi-Fi, Ethernet, or mobile data).
* It returns the first available IPv4 address found.
2. **`getWifiIpAddress()`:**
* A new method that specifically retrieves the IPv4 address assigned to the device's Wi-Fi interface.
* It uses the `WifiManager`'s connection information to obtain the IP address.
**Version Update:**
* The project version in `gradle.properties` has been incremented from `1.1.83` to `1.1.84`.