@otaliptus, what was the exact problem you had with React, causing the smart app banner not to display?
Post
Replies
Boosts
Views
Activity
Hey @andsoff! I'm seeing the same exact problem with our app clip implementation. We thought maybe it had something to do with our web implementation in React of the smart app banner, but we're not sure. The example you've provided is reproducible for us on both web through the smart app banner and through iMessage links to the app clip.
Through logging, we were able to determine that the app clip is receiving a URL in
func scene(_ scene: UIScene, continue userActivity: NSUserActivity)
but not the correct URL for that page.
i.e.
mysite.com/?txt=abc -- app clip receives mysite.com/?txt=abc
mysite.com/?txt=def -- app clip receives mysite.com/?txt=def
mysite.com/?txt=ghi -- app clip receives mysite.com/?txt=ghi
mysite.com/?txt=jkl -- app clip receives mysite.com/?txt=jkl
mysite.com/?txt=abc -- app clip receives mysite.com/?txt=jkl
mysite.com/?txt=ghi -- app clip receives mysite.com/?txt=jkl
It seems like there is a cache somewhere that recognizes a certain link is tied with the app clip, and knows to open that app clip, but always passes in the last used URL.