如何使用离子平台发送和接收USSD代码? [英] How to send and receive USSD codes with ionic platform?
本文介绍了如何使用离子平台发送和接收USSD代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我是Ionic平台的初级开发人员,现在我有问题发送和接收USSD代码....请帮助我,你知道吗。
解决方案
根据我在互联网上找到的并经过测试,
你可以发送USSD代码
< a href =tel:YOUR_NUMBERclass =button button-positive>给我打电话? < / A>
要使其功能正常,您需要在CONFIG.XML中提供访问权限,简单添加
< access origin =tel:*launch-external =yes/>
唯一的缺点是:它不会直接拨打您的号码,而是在设备的默认Dailer中打开它。 / p>
注意:我是Stack的新手,所以不知道正式的回答方式。
有趣的编码!
I'm a junior developer in Ionic platform, now I have a problem to send and receive USSD codes with that .... please help me is you know about that.
解决方案
From what I have found on internet and tested, you can send USSD codes
<a href="tel:YOUR_NUMBER" class="button button-positive">Call me? </a>
and to make it functional you need to provide access in CONFIG.XML, simple add
<access origin="tel:*" launch-external="yes"/>
only disadvantage is: it will not directly dial your number rather open it in default Dailer of device.
Note: I'm newbie here on Stack so don't know formal ways of answering. have fun coding!
这篇关于如何使用离子平台发送和接收USSD代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文