Hello,
I'm currently working with Smart App Banners and trying to test how they appear and behave on iOS. However, I need to test the Smart Banner in a debug or non-production environment to ensure everything works as expected.
According to the documentation for Smart App Banners (https://developer.apple.com/documentation/webkit/promoting-apps-with-smart-app-banners?language=objc), it appears that the banner only shows in production builds or live apps. Is there any way to trigger or test the Smart Banner in a debug mode or non-production environment?
Any advice or workaround for testing this feature would be greatly appreciated!
Thank you in advance!
Universal Links
RSS for tagAllow your users to intelligently follow links to content in your app or to your website using universal links.
Posts under Universal Links tag
66 Posts
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I have a simple Safari extension for iOS.
In its popup, I want a button that will open the app via a universal link.
I have this kind-of working, except that Safari opens the actual online destination of the link with a banner at the top saying "Open in the XXXX app" and an OPEN button.
What do I have to do to go directly to the app?
More generally, I know that if I copy-and-paste a universal link into the Safari address bar, Safari does the same thing - but it does go directly to the app from an <a href="...."> link.
In my app extension JavaScript, I set window.location. Presumably this is too similar to pasting into the address bar.
Is there some alternative to setting window.location that is more like clicking on a link and will go directly to the universal link's app?
Thanks.
Hello,
We do not have explicitly set it our website, but still Smart Banner appears since we have universal link setup. (current URL matches the universal link patterns set in your apple-app-site-associations file ). Also, I understand it appears only for users having our app installed.
We do not want to show this banner in any case. is there any way to choose not to show the app banner? either setting additional meta or any other way would work.
regards,
Hussain
Hello, we encountered a 403 error while accessing AASA.
> curl -i 'https://app-site-association.cdn-apple.com/a/v1/finture.id'
HTTP/1.1 404 Not Found
Content-Type: text/plain; charset=utf-8
Content-Length: 10
Connection: keep-alive
Server: nginx
Date: Fri, 28 Feb 2025 03:17:02 GMT
Expires: Fri, 28 Feb 2025 03:17:12 GMT
Age: 1122
Apple-Failure-Details: {"status":"403 Forbidden"}
Apple-Failure-Reason: SWCERR00101 Bad HTTP Response: 403 Forbidden
Apple-From: https://finture.id/.well-known/apple-app-site-association
Apple-Try-Direct: false
Via: https/1.1 jptyo12-3p-pst-007.ts.apple.com (acdn/14454.1), http/1.1 jptyo12-3p-pac-027.ts.apple.com (acdn/14454.1), https/1.1 jptyo12-3p-pfe-014.ts.apple.com (acdn/14454.1)
X-Cache: MISS KS-CLOUD
CDNUUID: 51e5b30b-1f3c-4778-bb6f-cff5447ad763-1988011596
x-link-via: ntct03:443;xianymp018:443;gzct61:443;xg36:443;
x-b2f-cs-cache: no-cache
X-Cache-Status: MISS from KS-CLOUD-XG-FOREIGN-36-07
X-Cache-Status: MISS from KS-CLOUD-GZ-CT-61-05
X-Cache-Status: MISS from KS-CLOUD-XIANY-MP-018-25
X-Cache-Status: MISS from KS-CLOUD-NT-CT-03-03
X-KSC-Request-ID: f1f2bf47e4b7e7b93596bbe7d60b1583
CDN-Server: KSFTF
X-Cdn-Request-ID: f1f2bf47e4b7e7b93596bbe7d60b1583
Not Found
But we can access https://finture.id/.well-known/apple-app-site-association.
How should we solve this, thank you.
We have been having problems with our app clip not working when sharing through iMessage. The app and app clip are published and work correctly when scanning a QR code that points to the URL: https://www.coderus.com/locations?loc=1 however if this same URL is shared through the iMessage app, a link to the website displays and not the app clip card.
We have confirmed that:
AASA file is available and has the type application/json
Both devices are above iOS 14
Both devices are in each other's contacts
The website has the meta tag for the smart app clip banner
The website has a meta tag for the og:image
Launch experiences have been configured on AppStoreConnect - as said before, the QR codes work correctly
The link leads to a 404 page, I wasn't sure if there needs to be an actual page that the link points to as app clips seem to work fine without when scanning the QR code through the camera app.
Hello, I'm having trouble modifying Universal Links in my application
I already have a Universal Links configuration, but now I need to change it to https://iyb-cityapp1.sjdit.com/.well-known/apple-app-site-association. After the configuration is completed, I click this link https://iyb-cityapp1.sjdit.com/index.html in Notes.app and it opens in Safari and does not open the application. What did I do wrong?
Thanks for your help!