[ 
https://issues.apache.org/jira/browse/CB-12379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15834814#comment-15834814
 ] 

Shazron Abdullah edited comment on CB-12379 at 2/27/17 10:31 PM:
-----------------------------------------------------------------

Thanks for replying. 
Yes. The tel prompt stopped working when we updated Xcode. In our hybrid app, 
we are launching our website in the IFrame. 
Phone no is listed in the xml file as 
{code}
<PhoneNumbers><PhoneNumber><Rank>1</Rank><Country>Main</Country><Phone>+1 111 
111 4000</Phone></PhoneNumber><PhoneNumbers>
{code}
I tried removing  + and space from the phone number. This did not fix the issue.

Our content security policy is as follows
{code}
 <meta http-equiv="Content-Security-Policy" content="default-src * gap://ready 
file:; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 
'unsafe-eval'"> 
{code}

Config.xml :
{code}
<content src="index.html" />  
     <access origin="*" />
     <allow-intent href="http://*/*"; />
    <allow-intent href="https://*/*"; />
    <allow-intent href="tel:*" />
    <allow-intent href="sms:*" />
    <allow-intent href="mailto:*"; />
    <allow-intent href="geo:*" />
    <allow-navigation href="*" />
     <allow-intent href="*" />
    <allow-navigation href="tel:*" />
{code}
Thanks


was (Author: sbhandary):
Thanks for replying. 
Yes. The tel prompt stopped working when we updated Xcode. In our hybrid app, 
we are launching our website in the IFrame. 
Phone no is listed in the xml file as 
<PhoneNumbers><PhoneNumber><Rank>1</Rank><Country>Main</Country><Phone>+1 111 
111 4000</Phone></PhoneNumber><PhoneNumbers>
I tried removing  + and space from the phone number. This did not fix the issue.

Our content security policy is as follows

 <meta http-equiv="Content-Security-Policy" content="default-src * gap://ready 
file:; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 
'unsafe-eval'"> 

Config.xml :
<content src="index.html" />  
     <access origin="*" />
     <allow-intent href="http://*/*"; />
    <allow-intent href="https://*/*"; />
    <allow-intent href="tel:*" />
    <allow-intent href="sms:*" />
    <allow-intent href="mailto:*"; />
    <allow-intent href="geo:*" />
    <allow-navigation href="*" />
     <allow-intent href="*" />
    <allow-navigation href="tel:*" />

Thanks

> Calling a phone number does not open the call prompt with XCODE 8 upgrade
> -------------------------------------------------------------------------
>
>                 Key: CB-12379
>                 URL: https://issues.apache.org/jira/browse/CB-12379
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>         Environment: Xcode 8.2, IOS 10, cordova 5.3.3
>            Reporter: smitha
>            Assignee: Tobias Bocanegra
>
> I have a hybrid app built using cordova version 5.3. After updating to xcode 8
> the tele prompt to call the selected phone number stopped working. We no 
> longer get the popup box to call  or cancel the selected phone number. This 
> happens only for the app. We get the pop up when we select the phone number 
> in the the browser.
>  



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to