mangstadt / ez-vcard

A vCard parser library for Java
Other
405 stars 93 forks source link

Android proguard description #84

Open z4hyoung opened 6 years ago

z4hyoung commented 6 years ago

Hi,

Do we have any description for Android proguard configurations? That will help us to avoid crash during runtime due to such as reflection. Below is configuration in my project.

-keep,includedescriptorclasses class ezvcard.property.** { *; }
-keep enum ezvcard.VCardVersion { *; }
mangstadt commented 6 years ago

Not familiar with that, sorry.

tibbi commented 6 years ago

except those I also needed -dontwarn ezvcard.io.json. -dontwarn freemarker.

divyangdivasaliwala commented 2 years ago

Hi,

Do we have any description for Android proguard configurations? That will help us to avoid crash during runtime due to such as reflection. Below is configuration in my project.

-keep,includedescriptorclasses class ezvcard.property.** { *; }
-keep enum ezvcard.VCardVersion { *; }

Try this: -keep,includedescriptorclasses class ezvcard. { ; } -keep enum ezvcard.VCardVersion { ; } -dontwarn ezvcard.io.json. -dontwarn freemarker.**

hoangchungk53qx1 commented 8 months ago

-keep,includedescriptorclasses class ezvcard. { ; } -keep enum ezvcard.VCardVersion { ; } -dontwarn ezvcard.io.json. -dontwarn freemarker. -keep,includedescriptorclasses class ezvcard.property. { *; }

Try this