【发布时间】:2021-10-16 07:36:46
【问题描述】:
你好,我的名字是 Rajdeep singh。我想问一下如何使用 Linking.openURL 命令打开 gmail 收件箱以响应本机。
请帮帮我。
【问题讨论】:
-
您要说打开 Gmail 客户端应用而不是默认电子邮件客户端吗?
-
是的,我想打开 gmail 客户端应用
标签: react-native
你好,我的名字是 Rajdeep singh。我想问一下如何使用 Linking.openURL 命令打开 gmail 收件箱以响应本机。
请帮帮我。
【问题讨论】:
标签: react-native
阅读这个 - How to launch and open email client React-native?
React Native 打开邮件功能
<Button onPress={() => Linking.openURL('mailto:support@example.com') }
title="support@example.com" />
React Native Open Mail Function with Subject and Body
<Button onPress={() => Linking.openURL('mailto:support@example.com?subject=SendMail&body=Description') }
title="support@example.com" />
【讨论】: