ConnectivityManager.ConnectivityAction Deprecated #512
Comments
Looks like a good improvement for anything using API 23 + I think that we want: https://developer.android.com/reference/android/net/ConnectivityManager#registerNetworkCallback(android.net.NetworkRequest,%20android.app.PendingIntent) Requires the ACCESS_NETWORK_STATE permission. Quick overview: https://stackoverflow.com/questions/27144026/how-can-i-receive-a-notification-when-the-device-loses-network-connectivity-in-a |
Hello. Is there any further progress planned on this? I see the current implementation hides the compiler warnings that the API has been deprecated and I would like to understand if this actually still works on API 29 and greater. Can I safely use the current Essentials Network API for Android now that all apps need to at least be targeting API >= 29 to get into the Play Store? |
Yup, everything still works fine. |
I'm going to do a spike on the new stuff as well. The old stuff works and continues to work though. Deprecated is still around for a very long time usually :) |
The ConnectivityManager.ConnectivityAction constant has been deprecated in Android API 28.
https://developer.android.com/reference/android/net/ConnectivityManager#CONNECTIVITY_ACTION
The text was updated successfully, but these errors were encountered: