Programmatic USSD in Worklight

261 views Asked by At

Recent Worklight version supports USSD communication from client to adapter. It is quite interesting option for occasional client-server communication when missing internet connection. What bothers me however is programmatic support and here comes my questions:

  1. Can Worklight app issue USSD command from its code?
  2. What about iOS that prevents from programmatic use of * and # characters? Worklight documentation cleverly avoid answering this question saying that "Mobile user dials USSD code", see documentation here.
  3. What about IBM+Apple alliance, will it open extra possibilities for Worklight like programmatic USSD?
1

There are 1 answers

0
Idan Adar On

For 1 and 2:

As you correctly noted, due the restriction of special character in iOS this is not possible.
The solution requires use of the phone's dialer. Hence Worklight does not provide an API to issue the USSD command programmatically.

Invoking the phone's dialer is a generic action that can be achieved using simple HTML and/or JavaScript.

For 3: Unknown.