Stylianos Gakis
04/15/2024, 12:25 PMproguard-rules.pro
file and we had a bunch of things there related to kotlinx.serialization.
I was trying to look into cleaning up any potential unused things, and going through the docs
After that, I tried just commenting out all of our rules and running the app in release mode with r8 and everything and everything seems to just work fine? Maybe everything we had is now obsolete because either kotlinx.serialization now has them in the library itself or we were doing something weird back in those days?
So my question is, do you use any proguard rules in your android apps when using kotlinx.serialization nowadays? If yes what are you using and why?ephemient
04/15/2024, 2:00 PMStylianos Gakis
04/15/2024, 2:03 PMyou’re looking up serializers at runtimeBy that would you mean doing
serializer<T>()
inside an inline fun with a reified
T
? Or something else?ephemient
04/15/2024, 2:06 PMStylianos Gakis
04/15/2024, 2:08 PMephemient
04/15/2024, 2:11 PM