“Linking in React Native” Respostas de código

Linking in React Native

Make sure to import!
import React from 'react';
import { Image, View, Text, TouchableOpacity, StyleSheet, Linking } from 'react-native';


<TouchableOpacity
        onPress={() =>
          Linking.openURL(
            'https://www.cbc.ca/news/world/coronavirus-covid19-canada-world-march9-2021-1.5941963'
          )
        }>
        <Text>open cbc</Text>
</TouchableOpacity>
Donald Duck

Linker Call Rect Native

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

Respostas semelhantes a “Linking in React Native”

Perguntas semelhantes a “Linking in React Native”

Mais respostas relacionadas para “Linking in React Native” em JavaScript

Procure respostas de código populares por idioma

Procurar outros idiomas de código