Search code examples
codenameone

Codename One App not dialing phone number on iOS device


Display.getInstance().dial(String number); is doing absolutely nothing in my iOS app. Works fine at Android and displays a messagebox in the simulator. What have I done wrong for iOS? Phone number is somthing like this: "+43 664 12345678" (plus sign, country code, net code, number).

Built with Codename One 7.0.108, tested with iOS 16.5.1 on a iPhone 14 Pro.


Solution

  • This is probably related to this question. The spaces aren't supported by the Apple URL format, you need a number without the spaces, dashes etc.