-
-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cant import file type not supported #6
Comments
Could you provide an example file somehow? 🤔 |
i am using the basic example Vcard::make()
->kind(Kind::INDIVIDUAL)
->gender(Gender::MALE)
->fullName('John Adam Smith')
->name('Smith', 'John', 'Adam')
->email('[email protected]')
->email('[email protected]', [Email::WORK, Email::INTERNET])
->tel('+1234567890', [Tel::HOME, Tel::VOICE])
->tel('+0987654321', [Tel::WORK, Tel::VOICE])
->tel('+0123456789', [Tel::CELL, Tel::VOICE])
->url('https://johnsmith.com')
->url('https://company.com')
->bday(Carbon::parse('1990-06-24'))
->photo('data:image/jpeg;base64,'.base64_encode(file_get_contents(__DIR__.'/stubs/photo.jpg')))
->title('V. P. Research and Development')
->role('Excecutive')
->org('Google;GMail Team;Spam Detection Squad')
->member('[email protected]', '550e8400-e29b-11d4-a716-446655440000')
; also i am using redmi k20 or xiaomi mi 9 t and i am using the default phone app to import it |
Hey, Line 115 in 3f9c0ac
Could you change that. Right now I don't have any special encoding for semicolons in place. So it could be that the two additional semicolons made the file invalid. 🤔 Haven't checked the readme yet, in case it's wrong: I'm happy to merge a PR that fixes the readme. 🥳 |
i tried with only name but it still gives invalid on phones , but with mac it import it successfully |
I assume it's because the package generates vCards in v4.0 but android seems to only support v3.x |
would u be able to make the version selection as a param ? |
I would definitely accept a PR. Could imagine a I'm still on holiday without any laptop - so can't write code till next week - first full July week. Wikipedia had a cool table with the differences between the versions. |
it works fine on ios but on android i get the error in the title
The text was updated successfully, but these errors were encountered: