Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hide "Open in app" banner while using Universal links

I'm using Universal links and everything is working perfectly but I can't seem to hide the Open in app banner which shows in the safari. Is there any way to do this?

enter image description here

like image 541
Akshit Zaveri Avatar asked Jul 24 '17 15:07

Akshit Zaveri


People also ask

How do I get rid of Open in app Banners in Safari?

The app, called Banish, is a Safari extension that helps remove the “open in app” banners from various websites and other popups that block content across a number of sites, like Reddit, TikTok, LinkedIn, Twitter, Quora, Medium, Yelp and some Google sites, to name a few.

What are universal app links?

What are 'Universal Links'? Universal links are Apple's way of launching apps on their operating system from a website, also known as a web view. They link to content inside an app or website, giving iOS users an integrated mobile experience.

How do I turn off Universal link?

You can disable Universal links by blacklisting the paths in your AASA file. Adding NOT before the path in your AASA file won't trigger app open for your url.


2 Answers

There's nothing you can do about that really, it's a feature of Universal Links and gets injected automatically by Safari.

Usually, they're hidden until you overscroll the content.

like image 80
chedabob Avatar answered Oct 30 '22 02:10

chedabob


What goal you are trying to achieve by using Universal Links? Usually developers are using Universal Links if they want for all/part of the website to be viewable in the App. From this point of view, screenshot you posted is a failure, because Universal Links failed to engage. Possible reasons can be if navigation to the Universal Links domains happened as redirect.

If there are specific pages on your website that you don't want become viewable in the App, you can use exclusions list in associated domain file. Check out this example http://amazon.com/apple-app-site-association . In this case navigating to the "/ref=nodl_" will not open the Amazon and will not show the banner you are mentioning.

like image 1
Oleksiy Ivanov Avatar answered Oct 30 '22 01:10

Oleksiy Ivanov