Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Linking.openURL('tel:xxxxx') doens't work in React Native iOS 0.72 iOS

Tags:

react-native

The following Linking.openURL method

const phone_number = '(800) 321 123 122'
Linking.openURL(`tel:${phone_number}`)

is not working on React Native 0.72, but worked on some earlier versions.

like image 382
Rad Avatar asked Jan 22 '26 14:01

Rad


1 Answers

One needs to add // to prefix, e.g.

Linking.openURL(`tel://${phone_number}`) 
Linking.openURL(`maps://...`) 
like image 72
Rad Avatar answered Jan 24 '26 14:01

Rad



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!