Is there a method to detect native apps from mobile safari?

Viewed 2220

I want to show a banner that links to a related native app from mobile web, and link to the app store/play store if the app is not installed. I would like to show different UI (download/open app) depending on if the app is installed

I know safari has the smart-app-banner, but this banner is not very configurable.

Chrome has a method getInstalledRelatedApps() that can be used to detect a related native app from mobile web.

Is there an equivalent way to detect a native app from safari?

1 Answers
Related