tel 和 mailto 链接在 cordova 应用程序中停止工作
tel and mailto Links Stopped Working in cordova app
我在 cordova 的帮助下开发混合移动应用程序。
我正在使用 cordova 版本 7.0.1,电话和 mailto 链接在 android 应用程序中不起作用,下面是代码。
<a href="tel:+442079398514">+44 20 7939 8514</a>
<a href="mailto:gsc@travelsecurity.com">gsc@travelsecurity.com</a>
为此有以下更改更新,
添加了 inappbrowser 插件,更新了 config.xml、
<access origin="*" />
<access launch-external="yes" origin="mailto:*" />
<access launch-external="yes" origin="tel:*" />
请检查我哪里做错了并告诉我。
提前致谢!
我 运行 今天遇到了同样的错误。
通过发送这样的电子邮件修复它:
window.open('mailto:john@doe.com?body=test", '_system');
我在 cordova 的帮助下开发混合移动应用程序。 我正在使用 cordova 版本 7.0.1,电话和 mailto 链接在 android 应用程序中不起作用,下面是代码。
<a href="tel:+442079398514">+44 20 7939 8514</a>
<a href="mailto:gsc@travelsecurity.com">gsc@travelsecurity.com</a>
为此有以下更改更新, 添加了 inappbrowser 插件,更新了 config.xml、
<access origin="*" />
<access launch-external="yes" origin="mailto:*" />
<access launch-external="yes" origin="tel:*" />
请检查我哪里做错了并告诉我。
提前致谢!
我 运行 今天遇到了同样的错误。 通过发送这样的电子邮件修复它:
window.open('mailto:john@doe.com?body=test", '_system');