**Describe the bug** `connectivityManager.getActiveNetworkInfo()` (https://developer.android.com/reference/android/net/ConnectivityManager#getActiveNetworkInfo()) and `NetworkInfo` (https://developer.android.com/reference/android/net/NetworkInfo) were deprecated in API level 29, and we use it in: https://github.com/NativeScript/NativeScript/blob/master/nativescript-core/connectivity/connectivity.android.ts **Expected behavior** I'm not sure how to get the network type but to get the SSID we should use https://developer.android.com/reference/android/net/wifi/WifiManager `wifiManager.getConnectionInfo().getSSID()`
Describe the bug
connectivityManager.getActiveNetworkInfo()(https://developer.android.com/reference/android/net/ConnectivityManager#getActiveNetworkInfo()) andNetworkInfo(https://developer.android.com/reference/android/net/NetworkInfo) were deprecated in API level 29, and we use it in: https://github.com/NativeScript/NativeScript/blob/master/nativescript-core/connectivity/connectivity.android.tsExpected behavior
I'm not sure how to get the network type but to get the SSID we should use https://developer.android.com/reference/android/net/wifi/WifiManager
wifiManager.getConnectionInfo().getSSID()