I was trying to integrate HapiFHIR on my Android project and found that
applying
Proguard
crashes the app. Without the
Proguard
, the whole
library consumes about 9 MB of apkand with
Proguard
it reduces to KB
size as i am using only a fractional part of library. Could you please tell me if there is a proper Proguard config that can be
applied other than ignoring all the HapiFHIR files? Thanks!
The crashing configuration:
-keep class ca.uhn.fhir.android.**
-keep class org.hl7.fhir.r4.**