app: tweak proguard rules to fix crash

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2020-11-08 16:44:52 +05:30
parent 276877119d
commit d01a7e18a2
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80

View file

@ -9,10 +9,6 @@
kotlinx.serialization.KSerializer serializer(...);
}
# Workaround for https://github.com/ktorio/ktor/issues/1354
-keepclassmembers class io.ktor.** { volatile <fields>; }
# Workaround for https://github.com/Kotlin/kotlinx.coroutines/issues/1564
-keepclassmembers class kotlinx.** {
volatile <fields>;
}
# Inline-based optimizations cause reflection to fail within Ktor (from what I can tell), so we turn
# this off for now.
-dontoptimize