如何从浏览器重定向到打开它的移动应用程序?

发布于 2025-02-09 01:32:56 字数 206 浏览 0 评论 0原文

即时通讯在手机的浏览器中在外部由移动应用程序打开的网站上工作。 (不是React WebView)

我想在浏览器中实现一个“返回”按钮,该按钮将用户重定向到移动应用程序时。

移动应用程序的详细信息未知,除了知道它们打开外部浏览器视图。

有没有办法将用户重定向回到移动应用程序,该应用程序首先打开浏览器?最好无需配置移动应用程序。 我们的网站使用React。

Im working on a website, which is opened by a mobile app, externally, in the phone's browser. (Not React WebView)

I want to implement a "back" button in the browser, which redirects the user back to the mobile app when pressed.

The details of the mobile app is unknown, other than knowing that they open an external browser view.

Is there a way to redirect the user back to the mobile app, that opened the browser in the first place? Preferably without needing to configure the mobile app.
Our website uses React.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文