Skip to content

Commit 75ccac9

Browse files
Merge pull request #201 from seemoo-lab/development
Optimized Scanning
2 parents 53e8686 + 791e9d2 commit 75ccac9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+2723
-196
lines changed

api.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
API_KEY="GGzcJJ3J.EtaKNlPiZ6euI5JBI6OwoVSyH9sG9Q2q"
1+
API_KEY="g3T1wgsH.bb40FsxMYET7HC12I8CH83jtQ1FT0a9A"
22
API_BASE_ADDRESS="https://tpe.seemoo.tu-darmstadt.de/api/"

app/build.gradle

Lines changed: 21 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,8 @@ android {
2828
applicationId "de.seemoo.at_tracking_detection"
2929
minSdkVersion 28
3030
targetSdk = 35
31-
versionCode 51
32-
versionName "2.4.1"
33-
31+
versionCode 52
32+
versionName "2.5"
3433
buildConfigField "String", "API_KEY", apiProperties["API_KEY"]
3534
buildConfigField "String", "API_BASE_ADDRESS", apiProperties["API_BASE_ADDRESS"]
3635

@@ -44,6 +43,9 @@ android {
4443
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
4544
applicationIdSuffix ".release"
4645
resValue "bool", "debug", "false"
46+
ndk {
47+
debugSymbolLevel = "FULL"
48+
}
4749
}
4850
debug {
4951
minifyEnabled false
@@ -85,13 +87,13 @@ dependencies {
8587
implementation 'com.jakewharton.timber:timber:5.0.1'
8688
implementation 'com.github.bastienpaulfr:Treessence:1.1.2'
8789
implementation "androidx.work:work-runtime-ktx:$work_version"
88-
implementation 'androidx.core:core-ktx:1.15.0'
90+
implementation 'androidx.core:core-ktx:1.16.0'
8991
implementation 'androidx.appcompat:appcompat:1.7.0'
9092
implementation 'com.google.android.material:material:1.12.0'
91-
implementation 'androidx.constraintlayout:constraintlayout:2.2.0'
93+
implementation 'androidx.constraintlayout:constraintlayout:2.2.1'
9294
implementation 'androidx.vectordrawable:vectordrawable:1.2.0'
93-
implementation 'androidx.navigation:navigation-fragment-ktx:2.8.7'
94-
implementation 'androidx.navigation:navigation-ui-ktx:2.8.7'
95+
implementation 'androidx.navigation:navigation-fragment-ktx:2.8.9'
96+
implementation 'androidx.navigation:navigation-ui-ktx:2.8.9'
9597
implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.8.7'
9698
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.8.7'
9799
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
@@ -103,9 +105,10 @@ dependencies {
103105
implementation 'com.squareup.retrofit2:retrofit:2.11.0'
104106
implementation 'com.squareup.retrofit2:converter-gson:2.11.0'
105107
implementation 'com.squareup.okhttp3:okhttp:5.0.0-alpha.14'
106-
implementation 'com.google.code.gson:gson:2.10.1'
108+
implementation 'com.squareup.okhttp3:logging-interceptor:5.0.0-alpha.14'
109+
implementation 'com.google.code.gson:gson:2.11.0'
107110
implementation "androidx.work:work-testing:$work_version"
108-
implementation 'androidx.core:core-ktx:1.15.0'
111+
implementation 'androidx.core:core-ktx:1.16.0'
109112
debugImplementation 'com.squareup.okhttp3:logging-interceptor:5.0.0-alpha.14'
110113

111114
implementation "com.google.dagger:hilt-android:$hilt_compiler_version"
@@ -127,35 +130,35 @@ dependencies {
127130

128131
ksp "com.google.dagger:hilt-compiler:$hilt_compiler_version"
129132
ksp "androidx.hilt:hilt-compiler:$hilt_version"
130-
131-
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.10.1"
132-
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.10.1"
133-
133+
134+
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.10.2"
135+
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.10.2"
134136
implementation "androidx.room:room-runtime:$room_version"
135137
implementation "androidx.room:room-ktx:$room_version"
136138
ksp "androidx.room:room-compiler:$room_version"
137139

138140
androidTestImplementation 'androidx.test.ext:junit:1.2.1'
139141
androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1'
140142
androidTestImplementation "androidx.room:room-testing:$room_version"
141-
androidTestImplementation 'org.jetbrains.kotlinx:kotlinx-coroutines-test:1.10.1'
143+
144+
androidTestImplementation 'org.jetbrains.kotlinx:kotlinx-coroutines-test:1.10.2'
142145
androidTestImplementation 'androidx.test:core:1.6.1'
143146
androidTestImplementation 'androidx.test:core-ktx:1.6.1'
144147
androidTestImplementation 'androidx.test.ext:junit-ktx:1.2.1'
145148
androidTestImplementation 'androidx.test:runner:1.6.2'
146149
androidTestImplementation 'androidx.test.espresso:espresso-contrib:3.6.1'
147150

148-
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.1.4'
151+
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.1.5'
149152

150153
//Finds memory leaks while running the app in Debug mode
151154
// debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.8.1'
152155

153156
//Compose
154157
// Integration with activities
155-
implementation 'androidx.activity:activity-compose:1.10.0'
158+
implementation 'androidx.activity:activity-compose:1.10.1'
156159
// Compose Material3 Design
157-
implementation 'androidx.compose.material3:material3:1.3.1'
158-
implementation 'androidx.compose.material3:material3-window-size-class:1.3.1'
160+
implementation 'androidx.compose.material3:material3:1.3.2'
161+
implementation 'androidx.compose.material3:material3-window-size-class:1.3.2'
159162
// Animations
160163
implementation 'androidx.compose.animation:animation:1.7.8'
161164
// Tooling support (Previews, etc.)

app/proguard-rules.pro

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,16 @@
3535
@retrofit2.http.* <methods>;
3636
}
3737

38+
-keepclassmembers class * {
39+
@com.google.gson.annotations.SerializedName <fields>;
40+
@de.seemoo.at_tracking_detection.database.relations.DeviceBeaconNotification <fields>;
41+
@de.seemoo.at_tracking_detection.statistics.api.models.** <fields>;
42+
}
43+
44+
-keepclassmembers class de.seemoo.at_tracking_detection.database.** { <fields>; }
45+
46+
-keepclassmembers class de.seemoo.at_tracking_detection.statistics.api.models.** { <fields>; }
47+
3848
# Ignore annotation used for build tooling.
3949
-dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
4050

@@ -109,3 +119,9 @@
109119

110120
# Keep the SharedPrefs class and its methods
111121
-keep class de.seemoo.at_tracking_detection.util.SharedPrefs { *; }
122+
123+
# Keep Gson annotations
124+
-keepattributes Signature,RuntimeVisibleAnnotations
125+
126+
# Keep all data classes with Gson annotations
127+
-keep class de.seemoo.at_tracking_detection.database.relations.** { *; }

0 commit comments

Comments
 (0)