diff --git a/android/app/build.gradle b/android/app/build.gradle
index 3006434..25f0f35 100644
--- a/android/app/build.gradle
+++ b/android/app/build.gradle
@@ -1,19 +1,30 @@
apply plugin: 'com.android.application'
+apply plugin: 'org.jetbrains.kotlin.android'
android {
- compileSdkVersion 33
+ compileSdkVersion 34
defaultConfig {
applicationId "info.varden.hauk"
- minSdkVersion 24
- targetSdkVersion 33
- versionCode 14
- versionName "1.6.2"
+ minSdkVersion 26
+ targetSdkVersion 34
+ versionCode 15
+ versionName "1.6.3"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
- release {
+ debug {
+ debuggable true
minifyEnabled false
+ shrinkResources false
+ }
+ release {
+ debuggable false
+ minifyEnabled true
+ shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
+
+ // Security hardening
+ signingConfig signingConfigs.debug // Replace with proper signing config in production
}
}
namespace 'info.varden.hauk'
@@ -21,10 +32,22 @@ android {
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
- implementation 'androidx.appcompat:appcompat:1.6.1'
+
+ // Core Android libraries
+ implementation 'androidx.appcompat:appcompat:1.7.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'androidx.preference:preference:1.2.1'
+ implementation 'androidx.core:core:1.13.1'
+ implementation 'androidx.activity:activity:1.9.0'
+ implementation 'androidx.fragment:fragment:1.8.0'
+
+ // Security libraries
+ implementation 'androidx.security:security-crypto:1.1.0-alpha06'
+
+ // Testing dependencies
testImplementation 'junit:junit:4.13.2'
+ testImplementation 'org.mockito:mockito-core:5.4.0'
androidTestImplementation 'androidx.test:runner:1.5.2'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
+ androidTestImplementation 'androidx.test.ext:junit:1.1.5'
}
diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml
index 9b7e159..6d65e26 100644
--- a/android/app/src/main/AndroidManifest.xml
+++ b/android/app/src/main/AndroidManifest.xml
@@ -3,10 +3,24 @@
xmlns:tools="http://schemas.android.com/tools"
package="info.varden.hauk">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ android:theme="@style/AppTheme"
+ android:hardwareAccelerated="true"
+ android:largeHeap="false"