-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Import of VCard fails, I/O error reported #13514
Comments
I wonder if we need to support some kind of filetype on the AC side @Amejia481 for these kinds of downloads? What do we do for files that the Android system doesn't automatically support? I tried opening the vCard from the Files app on my phone, and it opened in Google Drive (which couldn't open it) but suggested a different way of opening the file (which then triggered a Contacts permission). Mostly I'm curious if there is an easy fix (like exposing a different filetype) so we can prioritize this against other downloads bugs. |
We have to investigate to see what's happening, as we are creating a generic intent using the content type provided as the download's metadata. As other apps, can open the file, it's very likely to be something that we missing in the intent creation. Assessing the issue should not be that intensive to find. |
Very likely to be fixed after mozilla-mobile/android-components#9558 lands similar to #17502 |
Verified as fixed on Nightly 2/19 GV 87 with Pixel 2 (Android 9). |
Thanks @ebalazs-sv |
When downloading and opening a vCard, the file is somehow changed in a way that Contacts no longer recognizes it and causes a failure. I have verified that the same exact file when opened directly from the phone's download folder imports as expected.
Open https://www.phpclasses.org/browse/file/5543.html and download the example vCard
When the notification appears, attempt to "Open" the vCard
The phone's usual contact import process should take over and import the vCard into contacts.
Instead, the contacts app displays an error saying the vCard cannot be imported, even though the same file can be imported from the devices "Downloads" folder
I am using
Google Pixel 1
Android 10 Build QP1A.191005.007.A3
I Am using Firefox for android 68.11.0
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: