0
科爾多瓦版本 - 6.2.0 離子版本 - 1.7.16無法將呼叫離子的iOS
我已經通過其他線程提到的所有可能的解決方案了,但似乎沒有在我的情況下工作。從我的config.xml
代碼片段
<access origin="*"/>
<access origin="tel:*" launch-external="yes"/>
HTML文件放置調用
<a class="decoration" href="tel:1800-419-0333">
<button class="button icon-left ion-ios-telephone sr-orange-color">1-800-419-0333
</button>
</a>
相同的代碼工作在Android和撥號器打開了,因爲我上的按鈕調用。
我還添加以下代碼隱藏強調的電話號碼
<meta http-equiv="Content-Security-Policy"
content="default-src *; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval' http://localhost:8100"
charset="utf-8">
<meta name="format-detection" content="telephone=no">
這個插件科爾多瓦 - 插件白名單1.2.3-dev的「也被添加。
我是否需要去除以上白名單的插件,只需使用href標記可撥打電話,因爲我使用最新版本的科爾多瓦?
你有沒有嘗試在IOS中獲取錯誤日誌? – Naitik
它拋出和錯誤。 我想我可以從這裏解決這個問題。非常感謝:) –
提及不...快樂編碼... – Naitik