在我的React Native App中调用网站URL,然后在完成文件下载后再次重定向到应用程序

发布于 2025-02-14 00:43:42 字数 239 浏览 0 评论 0原文

我在项目中有一个要求,在下载文件后,用户必须转到应用程序的外部网站才能下载文件。 /strong>。任何人都可以提出一种解决这个问题的新颖方法。 一个很好的例子:在食品交付应用中,通过付款网关进行付款后,用户将被重定向到应用程序,该网站是外部网站

我尝试了 webview,linking.openurl,inappbrowser ,但它们都无法重定向到文件下载时的应用程序

I have a requirement in my project where a user has to go to an external website from app to download a file.After downloading the file,he should be redirected to the app again.My app is built on react-native.Can anyone suggest a novel way to deal with this problem.
A case in point:In food delivery apps,the users will be redirected to app after making the payment through payment gateway which is an external website.

I have tried Webview,Linking.openURL,InAppBrowser,but none of them were able to redirect to app on download of file

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

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

发布评论

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