0

My first page which contain Image on click of that image android default dial pad page will open .Use API to open phone Dialpadp.

  • 1
    Check this solution. [solution](https://stackoverflow.com/a/53288735/13632102) `onPress={()=>{Linking.openURL('tel:123456');}` – Harsh Patel May 19 '23 at 06:46

1 Answers1

1
import {Linking} from 'react-native'

let phoneNumber = '+911234567890'
    
Linking.openURL(`tel:${phoneNumber}`)

With the help of the Linking function, you can directly get the number on the dial-pad.