我有一个使用 Expo 应用程序的 React Native。我正在管理用户注册到应用程序。为此,一旦用户单击注册按钮,我就会向他发送一封电子邮件,其中包含一个 URL 以验证帐户。一旦用户单击 URL,如果他在电话上,我希望它打开应用程序(如果已安装),否则打开浏览器。如果他从桌面打开网址,那么我希望它打开浏览器。
https://example.com/validateAccount
)https://example.com
才能从网络浏览器打开它链接配置:
prefixes: [
"http://192.168.1.13:19006",
"http://localhost:19006"
],
config: {
screens: {
root: { ...}
}
}