Dear Team,
I am trying to add contact from QRCode. But it seems that the built-in QR code reader of
iphone camera isn't able to decode the FullName with space containing in last name correctly
ex:-Collin A. Al Miller.
I have attached all the screenshot for your reference.
Here are the examples:
When I am trying to focus iphone camera on QRCode the fullname (Collin A. Al Miller). scan the
The full name its giving the empty result without the fullname.
The attached screenshot details a)CameraQRNotWorking b)NotWorkingQRCOde
2)When i try to removed the blank space and tried to add comma or - in the full name its getting
recognised and its working perfectly.
The attached screenshot name a)CameraQRCodeWorking b)workingQRCODE
3)Both the full name are working perfectly in QR camera scanner of android
Collin A. Al-Miller or Collin A, Al Miller.
The attached screenshot name AndroidQRCODE
Hope this issue will get resolved in upcoming release. Kindly provide the feedback relatedto this
issue
Code to generate vcard
var str = "BEGIN:VCARD \n" +
"VERSION:2.1 \n" +
"FN:\("Collin A. Al Miller") \n" +
"TITLE:\("") \n"
if options.showPersonalPhone {
str.append(contentsOf: "item1.TEL;CELL:\("+91987654320") \n")
str.append(contentsOf: "item1.X-ABLabel:Mobile\n")
}
if options.showWorkPhone {
str.append(contentsOf: "item2.TEL;WORK;VOICE:\("+91987654320") \n")
str.append(contentsOf: "item2.X-ABLabel:Work Phone\n")
}
if options.showEmail {
str.append(contentsOf: "item3.EMAIL;WORK;INTERNET:\("test@gmail.com") \n")
str.append(contentsOf: "item3.X-ABLabel:Work Email\n")
}
if options.showWebsite {
str.append(contentsOf: "URL:www.test.com \n")
}
if options.showLocation {
str.append(contentsOf: "ADR;WORK:;;\("Bangalore") \n")
}
str.append(contentsOf: "END:VCARD")
Post
Replies
Boosts
Views
Activity
I am implementing custom intent using sirikit but been stuck with error response handling in intentdefintion file . As we would like to implement to show a custom response or view without mentioning something went wrong while there is failure response . As currently its showing something went wrong with custom response but we want something went wrong to be eliminated only custom view or custom text to be shown. can u please let us know if there is a way to implement it ?. Please have look for the image i have upload for reference
public func confirm(intent: ViewMyApprovalsIntent, completion: @escaping (ViewMyApprovalsIntentResponse) -> Void) {
os_log("TK421: %{public}s", "\(#function)")
completion(ViewMyApprovalsIntentResponse(code: .ready, userActivity: nil))
}
public func handle(intent: ViewMyApprovalsIntent, completion: @escaping (ViewMyApprovalsIntentResponse) -> Void) {
completion(ViewMyApprovalsIntentResponse.failure)
}
}
}
image Link for reference - https://developer.apple.com/forums/content/attachment/5c4b406f-9025-48cb-aeb8-2196a25a81cc{: [.log-attachment}]