【发布时间】:2017-03-31 14:16:20
【问题描述】:
我使用 twilio 共享我的用户的联系信息。我已经这样做了 6 个月,没有任何问题。
最近,我开始收到关于联系人卡片无法通过的错误报告。 iOS 将其作为未知附件接收,其文件名如“text_0.x-vcard”[见截图]
我无法在我的设备上重现此问题 - 我收到了来自使用 iPhone 7、iPhone 6 和 iPhone 5 的用户的报告 - 不一致。操作系统也没有一致性。 vcf 文件有效,适用于 90% 的用户。
有什么想法吗?这是 vcf 文件的示例 - 在我的手机上有效,在其他设备之一上无效。
BEGIN:VCARD
VERSION:3.0
N:Doe;John;;;
FN:John Doe
ORG:Example.com Inc.;
TITLE:Imaginary test person
EMAIL;type=INTERNET;type=WORK;type=pref:johnDoe@example.org
TEL;type=WORK;type=pref:+1 617 555 1212
TEL;type=WORK:+1 (617) 555-1234
TEL;type=CELL:+1 781 555 1212
TEL;type=HOME:+1 202 555 1212
item1.ADR;type=WORK:;;2 Enterprise Avenue;Worktown;NY;01111;USA
item1.X-ABADR:us
item2.ADR;type=HOME;type=pref:;;3 Acacia Avenue;Hoemtown;MA;02222;USA
item2.X-ABADR:us
NOTE:John Doe has a long and varied history\, being documented on more police files that anyone else. Reports of his death are alas numerous.
item3.URL;type=pref:http\://www.example/com/doe
item3.X-ABLabel:_$!<HomePage>!$_
item4.URL:http\://www.example.com/Joe/foaf.df
item4.X-ABLabel:FOAF
item5.X-ABRELATEDNAMES;type=pref:Jane Doe
item5.X-ABLabel:_$!<Friend>!$_
CATEGORIES:Work,Test group
X-ABUID:5AD380FD-B2DE-4261-BA99-DE1D1DB52FBE\:ABPerson
END:VCARD
【问题讨论】:
-
看起来可能与苹果的安全更新有关:support.apple.com/en-us/HT207482