Skip to content

Keep the constructors of ez-vcard's parameter types - #5

Merged
nikossvnk merged 1 commit into
mainfrom
keep-parameter-constructors
Dec 3, 2026
Merged

nikossvnk merged 1 commit into
mainfrom
keep-parameter-constructors

Conversation

@nikossvnk

Copy link
Copy Markdown
Collaborator

R8 in the app's release build removed the private constructors of ezvcard.parameter.TelephoneType etc., which ez-vcard calls by reflection (VCardParameterCaseClasses, MediaTypeCaseClasses). Contact sync in Ciphwren 3.0.0/3.0.1 crashed: NoSuchMethodException: ezvcard.parameter.TelephoneType.<init>. Checked on Cuttlefish with a release build: contacts sync both ways.

- ez-vcard creates TelephoneType, EmailType, ImageType, … through reflection; R8 removed the private constructors, so release builds crashed parsing a vCard with e.g. a phone number
@nikossvnk
nikossvnk merged commit fff8cdf into main Dec 3, 2026
2 checks passed
@nikossvnk
nikossvnk deleted the keep-parameter-constructors branch December 3, 2026 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant