Contacts - Add support for importing VCF 4.0 and export VCF in different versions
Summary
By default /e/OS Contacts app does not support importing contact informations from VCF 4.0 format vCards. And contact info exporting is by default only in VCF 2.1 format, There's no way to change this.
Description
What is the feature?
Allowing users to import vCards in VCF 4.0 and adding an option to change default export format of vCard to VCF 2.1, 3.0 or 4.0.
Who will use this new feature?
/e/OS users
Why these users would like to use this feature?
For migrating contacts from different apps with any mentioned vCard format.
Examples
Importing contact from VCF 4.0 file and exporting to VCF 4.0 or VCF 3.0
Reflection
Mockups
Diagrams
Validation
Scenario: Test importing different VCF formats.
Given the user downloaded any VCF file from above
When user navigates into 'Contacts' app
And open the sidebar
And selects 'Settings'
And selects 'Import'
And user selects import contacts from '.vcf file'
And select the device to import
And select the downloaded '.vcf' file
Then users sees toast about '.vcf will be imported shortly'
And the user checks if contact is imported
Scenario: Test exporting VCF.
Given the have multiple contact informations added
When navigates into 'Contacts' app
And open the sidebar
And selects 'Settings'
And selects 'Export'
And user selects Export contacts 'Export to .vcf file'
And user saves the vcf file with name 'contacts.vcf'
Then users sees toast about 'Contacts will be exported shortly'
And the user checks if file is showing in 'Files' app