1
0
mirror of https://github.com/oliexdev/openScale.git synced 2025-09-09 08:00:39 +02:00

check for new Bluetooth permissions in Android version >= 31, see #779

This commit is contained in:
oliexdev
2021-11-05 08:49:19 +01:00
parent 8fe1a58a60
commit 0abf478602
5 changed files with 42 additions and 16 deletions

View File

@@ -2,12 +2,12 @@ apply plugin: 'com.android.application'
apply plugin: "androidx.navigation.safeargs"
android {
compileSdkVersion 29
compileSdkVersion 31
defaultConfig {
applicationId "com.health.openscale"
testApplicationId "com.health.openscale.test"
minSdkVersion 21
targetSdkVersion 29 // TODO target higher 31 needs different Bluetooth permissions, see https://developer.android.com/guide/topics/connectivity/bluetooth/permissions
targetSdkVersion 31
versionCode 56
versionName "2.4.1"
@@ -132,7 +132,7 @@ android {
dependencies {
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5'
implementation 'com.google.android.material:material:1.5.0-alpha02'
implementation 'com.google.android.material:material:1.5.0-alpha05'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'androidx.appcompat:appcompat:1.3.1'
implementation 'androidx.recyclerview:recyclerview:1.2.1'
@@ -148,7 +148,7 @@ dependencies {
// Simple CSV
implementation 'com.j256.simplecsv:simplecsv:2.6'
// Blessed Android
implementation 'com.github.weliem:blessed-android:2.0.11'
implementation 'com.github.weliem:blessed-android:2.1.2'
// CustomActivityOnCrash
implementation 'cat.ereza:customactivityoncrash:2.3.0'
// AppIntro