Start Phone Call

openDialer()

Parameters

Type

Description

phoneNumber

String

The number that will be pre populated once the dialer is launched.

Opens the default phone app or dialer with the supplied phone number.

await telephony.openDialer("123456789");

dialPhoneNumber()

Requires CALL_PHONE permission.

Add the following to your AndroidManifest.xml file.

<uses-permission android:name="android.permission.CALL_PHONE"/>

Parameters

Type

Description

phoneNumber

String

The phone number to which the call will be started.

Starts a phone call to the provided phone number directly from your app.

await telephony.dialPhoneNumber("123456789");