open websute react native
snippet in javascript

open websute react native

user9255

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*/}

react native open link in browser

user925

Linking
  .openURL('https://link.com')
  .catch(err => console.error('Error', err));