Hola mi nombre es Rajdeep Singh. Estaba intentando abrir la bandeja de entrada de Gmail en React Native con React-Native-Email-Link. El siguiente código es el código que no funciona.
import * as React from 'react'; import { Text, View, StyleSheet, TouchableOpacity } from 'react-native'; import { openInbox } from 'react-native-email-link'; export default function App() { return ( <View> <TouchableOpacity style={styles.buttonstyle} onPress={() => { openInbox(); }}> <Text>OPEN MAIL APP</Text> </TouchableOpacity> </View> ); } const styles = StyleSheet.create({ buttonstyle: { alignSelf: 'center', justifyContent: 'center', fontSize: 20, marginTop: 150, fontWeight: 'bold', }, });Entonces, lo que sucede es que cuando hago clic en el botón Abrir aplicación de correo, no sucede nada.
Por favor, ayúdame.