MakePhoneCallDirect returns invalid number error

I'm using an app to select a contact, then add some stuff to it's phone number, then call it.
When I use MakePhoneCall, it works fine.
To make it quicker, I tried MakePhoneCallDirect instead and I got an invalid number error.

What is the format of the number you are providing when you call the method?

It would really help if you provided a screenshot of your relevant blocks, so we can see what you are trying to do, and where the problem may be.

To get an image of your blocks, right click in the Blocks Editor and select "Download Blocks as Image". You might want to use an image editor to crop etc. if required. Then post it here in the community.

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by icon24 Taifun.

The number I get from the contact picker is a 9-digit number and then I add it to "#31".
Here are the relevant blocks:
blocks

In the blocks image I provided, I'm using MakePhoneCall but as said before the problem is when I replace that with MakePhoneCallDirect.

try this tip

and let us know, if it worked for you

Taifun

Yes, it did work! Thanks.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.