How to make phone call in React Native?

Just Ahead picture Just Ahead · Jul 26, 2018 · Viewed 69.9k times · Source

I want to call to the value of Text component when I press it. But, actually, I haven't enough knowledge for that.

Can you, please, tell me, which library or component should I use?

enter image description here enter image description here

Answer

Tim picture Tim · Nov 13, 2018

If you look at the source code for react-native-phone-call, it's ultimately just a wrapper for:

import {Linking} from 'react-native'
Linking.openURL(`tel:${phoneNumber}`)