Override Library rather than changing minSDKVersion

This commit is contained in:
LLan 2025-01-08 17:51:55 +01:00
parent d6cd7d493c
commit 42784d94eb
2 changed files with 2 additions and 1 deletions

View File

@ -76,7 +76,7 @@ android {
//noinspection OldTargetApi
targetSdkVersion 34
compileSdk 34
minSdkVersion 26
minSdkVersion 21
// Note: always bump BOTH versionCode and versionName!
versionName "0.83.1"

View File

@ -103,6 +103,7 @@
<uses-permission android:name="android.permission.health.WRITE_HEART_RATE"/>
<uses-permission android:name="android.permission.health.READ_STEPS"/>
<uses-permission android:name="android.permission.health.WRITE_STEPS"/>
<uses-sdk tools:overrideLibrary="androidx.health.connect.client"/>
<!-- <uses-sdk tools:overrideLibrary="androidx.health.connect.client" /> &lt;!&ndash; Override the library's minSdkVersion &ndash;&gt;-->
<uses-feature