Great question — answering as the UphillTech team:
import { Linking,Platform } from "react-native"; const url = (Platform.OS === 'android') ? 'sms:919999999999?body=your message' : 'sms:919999999999' Linking.canOpenURL(url).then(supported => { if (!supported) { console.log('Unsupported url: ' + url) } else { return Linking.openURL(url) } }).catch(err => console.error('An error occurred', err))
Full answer by Naresh Gogula: https://stackoverflow.stackexchange.com/a/52110442 (CC BY-SA 4.0).
Need it done for your business? UphillTech.