2016-08-24 4 views
2

と電話番号を呼び出し中にネット:: ERR_UNKNOWN_URL_SCHEME取得私はconfig.xmlにこのコードを持っているイオン

<content src="index.html"/> 
<access origin="*"/> 
<allow-navigation href="tel:*" /> 
<allow-intent href="tel:*"/> 
<allow-intent href="mailto:*"/> 
<allow-intent href="http://*/*"/> 
<allow-navigation href="tel:*"/> 
<allow-navigation href="http://*/*"/> 
<allow-navigation href="https://*/*"/> 
<access origin="mailto:*" launch-external="true" /> 
<access origin="tel:*" launch-external="true" /> 

このHTML内:

<a ng-href="tel:{{item.phone}}"><h3>Anrufen</h3></a> 

item.phoneがで0331234567

を返します。 index.html:

<meta name="format-detection" content="telephone=yes"> 

私の間違いは何ですか?

答えて

5
<content src="index.html"/> 
<access origin="*"/> 
<access origin="mailto:*" launch-external="true" /> 
<access origin="tel:*" launch-external="true" /> 

他を削除します。

これら二つの原因ネット:: ERR_UNKNOWN_URL_SCHEME問題:

<allow-navigation href="tel:*" /> 
<allow-intent href="tel:*"/> 
+0

こんにちは私はこれをしなかったし、それはもう動作しないエラーが、iphoneの呼び出しを削除しました。 –

+0

http://stackoverflow.com/questions/40145087/ionic-1-making-calls-on-android-ios –

+0

シノンチャンに:あなたはiOSセクションの中に置く必要があります。 .... –