Completed slices: - S01: Project scaffold + Auth - S02: Today's routes tab - S03: Service history tab - S04: Add new service wizard - S05: FCM push notifications - S06: Polish & integration verification Branch: milestone/M001
40 lines
1.2 KiB
Prolog
40 lines
1.2 KiB
Prolog
# Add project specific ProGuard rules here.
|
|
# You can control the set of applied configuration files using the
|
|
# proguardFiles setting in build.gradle.kts.
|
|
#
|
|
# For more details, see
|
|
# http://developer.android.com/guide/developing/tools/proguard.html
|
|
|
|
# Retrofit
|
|
-keepattributes Signature
|
|
-keepattributes Exceptions
|
|
-keepclassmembers,allowshrinking,allowobfuscation interface * {
|
|
@retrofit2.http.* <methods>;
|
|
}
|
|
-dontwarn javax.annotation.**
|
|
-dontwarn kotlin.Unit
|
|
-dontwarn retrofit2.KotlinExtensions
|
|
-dontwarn retrofit2.KotlinExtensions$*
|
|
|
|
# Gson
|
|
-keepattributes *Annotation*
|
|
-keep class com.google.gson.stream.** { *; }
|
|
-keep class * implements com.google.gson.TypeAdapterFactory
|
|
-keep class * implements com.google.gson.JsonSerializer
|
|
-keep class * implements com.google.gson.JsonDeserializer
|
|
|
|
# OkHttp
|
|
-dontwarn okhttp3.**
|
|
-dontwarn okio.**
|
|
|
|
# Hilt
|
|
-keep class dagger.hilt.** { *; }
|
|
-keep class javax.inject.** { *; }
|
|
-keep class * extends dagger.hilt.android.internal.managers.ComponentSupplier { *; }
|
|
|
|
# Firebase
|
|
-keep class com.google.firebase.** { *; }
|
|
-dontwarn com.google.firebase.**
|
|
-keep class com.google.android.gms.** { *; }
|
|
-dontwarn com.google.android.gms.**
|