最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

reactjs - how to block opening an app when redirect? - Stack Overflow

programmeradmin0浏览0评论

when i redirect user to external url which is associated with app from appstore Instead of opening new tab it opens an app How can I block it ? Tried window.open, window.replace, AI can't fix it I run react site any ideas ?

when i redirect user to external url which is associated with app from appstore Instead of opening new tab it opens an app How can I block it ? Tried window.open, window.replace, AI can't fix it I run react site any ideas ?

Share asked 7 hours ago Piotr PapiernikPiotr Papiernik 1 New contributor Piotr Papiernik is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct. 1
  • Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. – Community Bot Commented 4 hours ago
Add a comment  | 

1 Answer 1

Reset to default 0

This isn't something that you would do. This is something the app developer would do. In React Native for instance, you can specify the URLs that are valid to the app and if accepted in the app store, if someone opens a URL and they have the app, it'll simply open your app. You can now set up in app navigation so if the person opens mywebsite/reel/qwnkxkmkwm, it opens the reel with that ID.

发布评论

评论列表(0)

  1. 暂无评论