StormTrooper
StormTrooper

Reputation: 1573

How to trigger app clip from website manually via custom url

I want App Clip to be launched from my website.

Currently App Clip is working perfectly fine because When I open my website on iPhone safari, it automatically shows a banner on top with a button that says: Open App

What I need is that I want to develop my custom banner with a button on my website from where I can trigger App Clip manually because sometimes that banner from App Clip appears a bit late, so I don't want to be dependent on that.

Any idea regarding this? I just need a direction or reference to some documentation that's all.

Thanks

Upvotes: 3

Views: 779

Answers (2)

Wenuka
Wenuka

Reputation: 1090

I confirm @vahagn's answer. Incase anyone is wondering, what is a smart banner, it means you just have to add a meta tag inside the <head></head> tags like below:

<!DOCTYPE html>
<html lang="en">
<head>
   <meta name="apple-itunes-app" content="app-id=1234567890, app-clip-bundle-id=com.example.myapp.clip">
   <title>Your title</title>
   ...
</head>
<body>
   ...
</body>
</html>

Upvotes: 0

Vahagn Gevorgyan
Vahagn Gevorgyan

Reputation: 2793

I've faced the same issue previously and as I understand you can launch the App Clip only from smart banner, you can't use universal link as a trigger for opening the App Clip

Upvotes: 1

Related Questions