Seems to be a duplicate of https://developer.apple.com/forums/thread/665827
Post
Replies
Boosts
Views
Activity
I too am running into this issue. Any updates?
@Againwithanaccount I was able to work around this by adding an additional text item to the UIActivityViewController. Definitely not ideal, but works in the meantime. Seems to be what Confide is doing to get around this as well.
For example this doesn't work:
let urlString = "https://app-clip-url"
let items: [Any] = [URL(string: urlString)!]
let activityViewController = UIActivityViewController(activityItems: items, applicationActivities: [])
but this does:
let urlString = "https://app-clip-url"
let items: [Any] = [URL(string: urlString)!, "Click the \"Open\" button above to open this App Clip."]
let activityViewController = UIActivityViewController(activityItems: items, applicationActivities: [])
https://developer.apple.com/forums/thread/666929
@liazkam
App Clip site and shared url:
https://app.wificonnect.xyz/connect?to=TcUk3hSMtKmagb1A:JYo2VEUqI4YniAnzcejM3w5WdlNWlAZo6hLIZYeNIL6dlv06YZnLsnY7hhZktmq06P5LfJC/a1MXC/AQwlqE+/0UDs+VqxGtGcbYc4wTxFE=
doing a curl on the url does return the meta tag for the smart banner so I don't think it's a redirect issue.
@liazkam
Odd, now I'm not seeing the banner either, but if I tap the Safari share button it's recognized as an app clip. The Clip is published.
https://imgur.com/dsLqB40
The website is a Next.js project hosted on Vercel. Don't think that should matter as it's server-side rendered, but could be related???