tomaschyly / web_browser_detect

FlutterWeb browser detection package.
MIT License
9 stars 1 forks source link

How to open link in external browser instead of in-app (instagram)? #6

Open ranulfo opened 1 year ago

ranulfo commented 1 year ago

hello everyone, I have a problem with redirecting instagram to my website, instagram and facebook open the links through their own webview. causing my website in flutter not to open correctly in IOS. Is there a way to use this package to detect the user agent and redirect Safari? something like this: https://stackoverflow.com/questions/50212683/how-to-open-link-in-external-browser-instead-of-in-app-instagram

tomaschyly commented 1 year ago

Hi, I do not think this package will solve your issue. There is no sure way to know that web is in in-app browser. I personally dislike in-app browsers too. But this is something you need to convince devs of Instagram to stop using.