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
So when the app try to invoke this API on devices after API level 29, your app will run with an unpredictable results. So we suggest you add an "if(SDK_INT <30)" to fix this potential issue.
The text was updated successfully, but these errors were encountered:
PSDroid2022
changed the title
A compatibility issue
Compatibility issue when calling method
Aug 25, 2022
We confirm a compatibility issue which might threaten the robustness of your app and give a detailed suggestion for you.
In ''cz.martykan.forecastie.AlarmReceiver", you invoke the framework API "<android.net.ConnectivityManager: android.net.NetworkInfo getActiveNetworkInfo()>" in "isNetworkAvailable" method as shown in following. But actually, this method is deprecated after API level 29 (https://developer.android.google.cn/reference/kotlin/android/net/ConnectivityManager?hl=en#getActiveNetworkInfo()).
So when the app try to invoke this API on devices after API level 29, your app will run with an unpredictable results. So we suggest you add an "if(SDK_INT <30)" to fix this potential issue.
The text was updated successfully, but these errors were encountered: