ProGuard Configuration for Android library

29 views
Skip to first unread message

Ajith M A

unread,
Apr 28, 2021, 1:30:09 PM4/28/21
to HAPI FHIR
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.**
Reply all
Reply to author
Forward
0 new messages