how to open react native on webbrowser code example
Example 1: open websute react native
import { Linking, Button } from "react-native";
{/*Insert the rest of your code :)*/}
<Button
title="Open Motorola Website"
onPress={() => Linking.openURL('https://www.motorola.com')}
/>
{/*Hello Moto*/}
Example 2: react native open link in browser
Linking
.openURL('https://link.com')
.catch(err => console.error('Error', err));