简体   繁体   中英

How to interceptor iOS universal links in an App

I work about universal links iOS recently. But I found out that in some App, my universal links can't open my App 100%. So, I want to know how to prevent a universal links to open a third part App in my App. Thanks!

Universal Links require explicit user interaction to engage. If navigation to Universal Links happens as a result of Java Script redirect, or server redirect or by navigation from another App, then Universal Links will not engage and user will stay in browser/webview. Also it is possible for the user to disable Universal Links for specific domain on specific device.

Alternatively, if you want to blacklist some pages of the website to be opened in the App you can edit AASA file to exclude these pages. See also this answer Hide "Open in app" banner while using Universal links

Does this answers your question?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM