【发布时间】:2016-12-14 20:26:36
【问题描述】:
我正在使用 ionic 框架制作一个混合应用程序,并且想拨打 USSD。拨打普通号码(12345678)没有问题;但我无法拨打 USSD (*556#);即使在编码“#”字符之后。有人可以帮帮我吗?
<a ion-button href="tel:556" >call</a> // This dials the number - no problem here
<a ion-button href="tel:*556#" >Call</a> // This does nothing <a ion-button href="tel:encodeURIComponent(*556#)" >Call</a> // This doesn't work either
它拨打的是 USSD,但我只是不认为它拨打 *556# 为
"Error Performing Request, Unknown Error" 出现在我的屏幕上。当我登录encodeURIComponent(*556#) 时,我看到了*556%23
【问题讨论】:
-
请向我们展示您的代码,您尝试了什么?
-
编辑问题并将格式化代码放入其中,而不是在 cmets 中
-
另外,请参阅此答案forum.ionicframework.com/t/…
-
@Marko ,访问了您发送的链接...我的正常通话正常。不起作用的是拨打 USSD。只要号码前有'*',如(*556#)号码不拨。
标签: ios ionic-framework ionic2