react-native-web
react-native-web copied to clipboard
Open External Browser from App
How can I open an External Browser when running react-native-web inside a Mobile App in its WebView?
Code
const openLink = async url => {
const supported = await Linking.canOpenURL(url)
if (supported) {
await Linking.openURL(url)
}
}
The above code however redirects to a page within the WebView and not from an external Browser (eg, open with Chrome, etc)
Duplicates #1544