From 249955e1ca1e388870522362ac498b076a039bf1 Mon Sep 17 00:00:00 2001 From: problematicconsumer Date: Thu, 21 Dec 2023 16:19:22 +0330 Subject: [PATCH] Bump android sdk version --- android/app/build.gradle | 8 ++++---- android/app/src/main/AndroidManifest.xml | 23 +++++++++++++++++++---- android/build.gradle | 2 +- 3 files changed, 24 insertions(+), 9 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index 8c58726b8..869d8e281 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -45,7 +45,7 @@ apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" android { namespace "com.hiddify.hiddify" - compileSdkVersion flutter.compileSdkVersion + compileSdkVersion 34 ndkVersion "26.1.10909125" compileOptions { @@ -64,7 +64,7 @@ android { defaultConfig { applicationId "app.hiddify.com" minSdkVersion 21 - targetSdkVersion 33 + targetSdkVersion 34 versionCode flutterVersionCode.toInteger() versionName flutterVersionName multiDexEnabled true @@ -128,7 +128,7 @@ dependencies { implementation fileTree(dir: 'libs', include: ['*.jar', '*.aar']) implementation 'com.google.code.gson:gson:2.10.1' implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" - implementation 'androidx.core:core-ktx:1.10.1' + implementation 'androidx.core:core-ktx:1.12.0' implementation 'androidx.appcompat:appcompat:1.6.1' - implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.6.1' + implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.6.2' } \ No newline at end of file diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index b6f7d9b33..5e87f9579 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -1,7 +1,13 @@ - - + + + + @@ -16,8 +22,8 @@ @@ -104,14 +110,23 @@ + + android:exported="false" + android:foregroundServiceType="specialUse"> + +