Skip to content

Releases: UweTrottmann/AndroidUtils

v4.0.0

16 Aug 09:36
dda6d8f
Compare
Choose a tag to compare
  • Add AndroidUtils.isAtLeastUpsideDownCake.
  • Remove CheatSheet (use androidx.appcompat.widget.TooltipCompat as a replacement).
  • Update Kotlin to 1.8.22. When using this library need to compile with at least Kotlin 1.7.

v3.1.0

09 Dec 10:46
667c479
Compare
Choose a tag to compare
  • Fix AndroidUtils.isNetworkConnected and .isUnmeteredNetworkConnected crashing with SecurityException on some Android 11 devices due to a system bug. See method for details.
  • Update Kotlin to 1.7.21, when using the library need to compile with at least Kotlin 1.6.
  • Add AndroidUtils.isAtLeastTiramisu, AndroidUtils.isAtLeastSv2.

v3.0.0

21 Jan 16:15
Compare
Choose a tag to compare
  • Convert to Kotlin.
  • Add replace with code for CheatSheet, deprecate all methods.
  • Add AndroidUtils.isAtLeastS, remove isICSMR1OrHigher.
  • AndroidUtils uses NetworkCapabilities API to detect network state on Android 6 and higher.
  • Remove AndroidUtils.copyFile, use a Kotlin extension function instead.

v2.4.1

18 Sep 13:04
Compare
Choose a tag to compare
  • Migrate to AndroidX.
  • Change CheatSheet to internally use TooltipCompat from AndroidX appcompat.
  • Add Android API level checks up to Android 11 (API level 30).
    • Renamed to include the code name to appease the Android Lint NewApi check.
  • Add nullability, permission and type annotations.

v2.4.0

17 Sep 09:52
Compare
Choose a tag to compare

DO NOT USE THIS, use 2.4.1 instead.

Android Lint does not recognize the new version checks in this version.