Phone call from a mobile app

Hello,


I am building a mobile app. I want to have a button that the user clicks. When the user clicks the button the app must initiate a phone call from the device to a number that I give it to dial. 


Can anyone let me know how to do this? Is there a forge component that I can use to initiate the call on the device?


Thanks so much!

Solution

Hi Time Toep,

You should be able to use links/buttons with a destination of "tel:123456789" (where 123456789 would be the phone number you want to call... remember to use international dialling codes). It will open a popup asking if you want to call that number.

Solution

Jorge Martins wrote:

Hi Time Toep,

You should be able to use links/buttons with a destination of "tel:123456789" (where 123456789 would be the phone number you want to call... remember to use international dialling codes). It will open a popup asking if you want to call that number.


Problem solved! Thanks so much!