'React Native opening iOS dial app not working

I am trying to get the native dial app to open in iOS. All the options I have tried are below:

onPress={() => {Linking.openURL(Platform.OS === 'android' ? 'tel:*xxxx' : 'tel://*xxxx')}}
onPress={() => {Linking.openURL(Platform.OS === 'android' ? 'tel:*xxxx' : 'telprompt:*xxxx')}}
onPress={() => {Linking.openURL('tel:*xxxx')}}

I am wondering if anyone has another option that might work. Thank you for your help!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source