Hello. I am developing a standalone watchOS app that is making phone calls.
I am using the following code to open Calling interface in my watchOS app and make a phone call:
func phoneCall() -> Void {
let tel = "+1(500)123-4567"
if let telURL = URL(string: "tel:\(tel)") {
WKExtension.shared().openSystemURL(telURL)
}
}
I tried passing phone numbers in the following formats:
On the previous watchOS version it worked as intended. The app opened one Confirmation screen and then made a call. Since I upgraded my Watch to 6.2.6, I started getting 2 Confirm screens.
Please advise.
I am using the following code to open Calling interface in my watchOS app and make a phone call:
func phoneCall() -> Void {
let tel = "+1(500)123-4567"
if let telURL = URL(string: "tel:\(tel)") {
WKExtension.shared().openSystemURL(telURL)
}
}
I tried passing phone numbers in the following formats:
+1(500)123-4567
15001234567
5001234567
500-123-4567
(500)123-4567
1-500-123-4567
On the previous watchOS version it worked as intended. The app opened one Confirmation screen and then made a call. Since I upgraded my Watch to 6.2.6, I started getting 2 Confirm screens.
Please advise.