Skip to content

Conversation

@Oneya4
Copy link

@Oneya4 Oneya4 commented Apr 28, 2025

The _noteCard() in example_full\lib\pages\edit_contact_page.dart file erroneously points to _contact.groups for onDelete(). This throws an null/empty error when one adds a note and tries to delete it (as is). This fix ensures the notes property is the one targeted. Adding onUpdate() that was initially null

Oneya4 added 2 commits April 28, 2025 14:26
The _noteCard() in example_full\lib\pages\edit_contact_page.dart file erroneously points to _contact.groups for onDelete(). This throws an null/empty error when one adds a note and tries to delete it (as is). This fix ensures the notes property is the one targeted. Adding onUpdate() that was initially null
Both iOS and Android support 'mobile' PhoneLabel. The current parser assigns type('cell') + ('text') or ('msg') which then miss-assigns the label when the contact is read or scanned. The current setup passes TEL;TYPE=cell,msg which is a custom label and not 'mobile' as intended. This PR fixes this by exclusively returning types.add('mobile') for PhoneLabel.mobile
@Oneya4 Oneya4 changed the title Setting the correct type for notes onDelete() ans adding onUpdate() Setting the correct type for notes onDelete() and adding onUpdate() in example_full Apr 28, 2025
@Oneya4 Oneya4 changed the title Setting the correct type for notes onDelete() and adding onUpdate() in example_full Setting the correct type for notes onDelete() and adding onUpdate() in /example_full and parsing the correct type for PhoneLable.mobile Apr 28, 2025
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