在使用离子拨打电话号码时获取net :: ERR_UNKNOWN_URL_SCHEME

oli*_*ier 2 angularjs ionic-framework

我在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" />
Run Code Online (Sandbox Code Playgroud)

这在HTML中:

<a ng-href="tel:{{item.phone}}"><h3>Anrufen</h3></a>
Run Code Online (Sandbox Code Playgroud)

item.phone返回0331234567

在index.html中:

<meta name="format-detection" content="telephone=yes">
Run Code Online (Sandbox Code Playgroud)

我的错是什么?

ugu*_*kan 6

<content src="index.html"/>
<access origin="*"/>
<access origin="mailto:*" launch-external="true" />
<access origin="tel:*" launch-external="true" />
Run Code Online (Sandbox Code Playgroud)

保留这些.删除其他人.

这两个导致net :: ERR_UNKNOWN_URL_SCHEME问题:

<allow-navigation href="tel:*" />
<allow-intent href="tel:*"/>
Run Code Online (Sandbox Code Playgroud)