Post not yet marked as solved
Could someone provide some insights about the performance hits for adding associated domains? What guidelines should we use to make the most out of associated domains and minimize performance impact? Are there specific tips in terms of domains for different locales or using wildcards in the domain?
Is there a point where there are too many associated domains in the entitlements file?
Will marking an associated domain as developer mode improve performance for prod apps, as production apps won’t need to request the asa files from those domains?
Thanks!
Post not yet marked as solved
Hey, I've been trying to get universal links working on my app.
I have the AASA set up here
https://www.wonderschool.com/.well-known/apple-app-site-association
branch validator says its good, but apple's says "Action requiredCould not extract required information for application links. Learn how to implement the recommended"
However, I cannot see anything that is wrong.
I have the associated domain enabled in my capabilities.
However on the simulator and on testflight in a device, it just goes to the url.
Anyone have any idea?
Thanks!
Post not yet marked as solved
I'm having trouble trying to set up Dynamic Links in my Flutter app, and then I came up with this thought that maybe I need to test it using a released version.
Post not yet marked as solved
I am developing a simple game.
I see some of the apps do not have any link to their Terms of Use and Privacy Policy in app. itself, but only at the app. store.
Is it OK to be like that?
Post not yet marked as solved
Hi!
We have two apps, both use the Universal Links mechanism, apps should be opened when user read NFC tag. The tag content is a URL link to our domain.
After updating to iOS 15, users faced the problem that they constantly see the application selection dialog when reading the nfc tag.
How to fix it? Previously, the selection dialog was displayed once and the value was stored.
Our aasa file on domain:
{
"applinks": {
"apps": [],
"details": [
{
"appIDs": ["*.*.app1"],
"paths": ["*"]
},
{
"appIDs": ["*.*.app2"],
"paths": ["*"]
}
]
},
"appclips": {
"apps": [
"*.*.app2.Clip"
]
}
}
Post not yet marked as solved
This question is regarding app to app linking/deep linking originating from a website. After user logs in using his credentials from the browser for the very first time, the redirect URL should open the app, instead, the redirect URL gets opened inside the browser. In subsequent log in attempts, the deep linking works correctly since the user is already logged in.
Please refer to the app site association file : https://drive.google.com/file/d/17u4Qpj90AudIsT0mY9_DeeRW3woJosJ8/view?usp=sharing
Post not yet marked as solved
My AASA file contains:
{
{...}
"applinks": {
"apps": [],
"details": [
{
"appIDs": [
"XXXXXXXX.BUNDLEID" // AASA File contains correct values
],
"components": [
"/login/"
]
}
]
}
}
My App correctly opens when I browse to /login/.
However, my App also opens on all other paths aswell.
For example /resetPassword/ is also directed to my App with universalLinking, which I don't want, as it should be handled in the Browser.
What am I missing?
I was sure only /login/ should be directed to the app, and I don't seem to be able to prevent opening the app when navigating to other paths.
I have tried returning NO within my continueUserActivity based on the userActivity.webpageURL without success.
- (BOOL)application:(UIApplication *)application continueUserActivity:(NSUserActivity *)userActivity restorationHandler:(void (^)(NSArray<id<UIUserActivityRestoring>> * _Nullable))restorationHandler
I have also tried to add NOT * in the components array for the AASA file.
Still the App will open when navigating to any path of my domain, regardless of the AASA Files components.
Post not yet marked as solved
I come across a problem when checking app-site-association.
When I access to my domain through the below link in Chrome:
https://app-site-association.cdn-apple.com/a/v1/example.com
It throws the follow error in the response header:
**HTTP/1.1 404 Not Found
Date: Mon, 18 Oct 2021 07:44:32 GMT
Content-Length: 0
Apple-Failure-Details: {"cause":"remote error: tls: handshake failure"}
Apple-Failure-Reason: SWCERR00303 TLS error**
But I can access to the apple-app-site-association file in https://example.com/.well-known/apple-app-site-association
Appreciate all for the help.
Post not yet marked as solved
I was following the video for the WWDC 2019 What's new in Universal Links
we want to add a #no_universal_link to some URL to avoid open on the application this is or current App associated domain file
{
"applinks": {
"apps": [],
"details": [
{
"appID": "XX00XXXX00.com.mydomain.myapp",
"paths": [
"NOT /page2/*",
"*"
],
"components": [
{
"#": "no_universal_link",
"exclude": true
}
]
}
]
}
}
Currently the path
https://www.myfakedomain.com/page2 is open the browser (which is correct)
an we have this others
https://www.myfakedomain.com/page1 (Should open the app)
https://www.myfakedomain.net/page1#no_universal_link (Should open the browser)
After uploading the JSON to the server all the universal links stop working
Any insight of what we are doing wrong would be great
Post not yet marked as solved
Is anybody know what is the error code: SWCERR00303? I have stuck in the problem when I access to
https://app-site-association.cdn-apple.com/a/v1/example.com
Apple-Failure-Details: {"cause":"remote error: tls: handshake failure"}
Apple-Failure-Reason: SWCERR00303 TLS error
Post not yet marked as solved
Apps like pin interest let you save links from the web to the app. How would you replicate that with Swift UI? Thanks!
Post not yet marked as solved
I would like to get the apple-app-site-association CDN server IP range so that I can whitelist those IPs when it tries to request the association file from my test environment. could Apple support please provide this information?
PS: I don't want to use alternate mode(developer) as this doesn't allow me to use on ad-hoc profile which my testers use.
Post not yet marked as solved
will it be possible? that every URL should https://<myHost.com>/* opens in browser only?
and only https://<myHost.com>/deeplink/* should open in app?
I declare path in apple-app-association file like this:
"paths": [
"/deeplink/*”, "NOT *",
]
but it is not working
please suggest me solution?
Post not yet marked as solved
Hi,
Universal links in our application stopped working for several months.
We have reviewed all the configuration of our application and everything is done according to the documentation provided by Apple.
In addition, we are testing from the tool provided by Apple: "App Search API Validation Tool", and we received the response with the correct data from our application.
It should be noted that we have the corresponding file "apple-app-site-association.json" in our web server and we have the Apple ip range "17.0.0.0/8" enabled in our security.
Please, we will appreciate if you can give us help in this regard or direct us to the corresponding area.
Thank you so much!
Post not yet marked as solved
I submitted my app to Apple for review. When they try to use a universal link it opens in Safari on their iPad instead of in the app.
We tried the exact same steps they did on multiple iPhones and iPads with the same build through TestFlight and it works on all our devices and the ones our external testers use.
So I was wondering if anyone had the same issue, that universal links did not work on Apple's reviewers side, and a possible resolution.
The universal link is key to our login process. In the app you enter your email and we send you a single use link that automatically signs you into the app.
Post not yet marked as solved
We have an issue. The Universal Links not working.
When we install the game onto the device we can see the next logs. Our game has associated sites:(null) while other apps have domains
default 14:56:01.720199-0700 duetexpertd Requested application game.name has policy OK, associated categories:DH1001 associated sites:(null) equivalent bundle identifiers:game.name
default 14:56:01.719890-0700 duetexpertd Requested application com.tinyspeck.chatlyio has policy OK, associated categories:DH1005 associated sites:<list of domains> equivalent bundle identifiers:com.tinyspeck.slackmacgap.helper,com.tinyspeck.chatlyio
We have added the correct provision profile. We can see the domain in TestFlight Metadata in AppStore.
However, when we install build from AppStore we see associated sites:(null)
Can somebody point out what are we doing wrong?
Post not yet marked as solved
Hi!
Is there a way to have a regex instead of a keyword in the path to catch the url?
For example:
{
"/": "/(\\d{10}|\\d{15})",
"caseSensitive": false
}
Would that work? I haven't seen any mention of regex usage for this file.
Thanks!
Post not yet marked as solved
■Overview.
- The app was developed and released.
- The app is linked to MarketingAutomation and transitions from links in emails and PUSH notifications to specific pages of the app.
- In iOS14, the transition from UniversalLink to the app is not possible. iOS13 and earlier OS can transition to the app.
The cause is assumed to be that AppleCDN is not able to acquire the apple-app-site-association file.
■Assumption
- On iOS13 devices, the device directly requests the server of the target domain to acquire the apple-app-site-association file for resolution (AppID acquisition) using UnivarsalLink.
- For iOS14 devices, the device makes a request to AppleCDN to acquire the apple-app-site-association file for resolution (AppID acquisition) using UnivarsalLink.
→ AppleCDN must be able to acquire the apple-app-site-association file.
Reference URL:
https://www.wantedly.com/companies/wantedly/post_articles/305303
■Current status
- iOS13 terminal: Transition possible
When acquiring the apple-app-site-association file, a request is made to https://mydomain_.jp/.well-known/apple-app-site-association, and the file is acquired.
- iOS14 devices: Transition not possible
It has been confirmed that the information of the apple-app-site-association file does not exist on AppleCDN.
However, it is possible to retrieve the file if a request is made including the file path.
It has been confirmed that https://mydomain_.jp
cannot be accessed.
Although the specifications for Apple to crawl and retrieve the apple-app-site-association file are unknown and undisclosed, it is assumed that the lack of access to https://mydomain_.jp/
is affecting the file.
We relaxed the access restriction on the server side to allow direct access to , and confirmed that access is now possible.
Even after a week has passed since access became possible, the transition to the application is still not possible.
■What we have done so far
App server
Changed the setting so that AppleCDN can see the index of the root directory so that it can access the directory directly under the root directory.
Changed the configuration so that Content-Type: application/json is added to the HTTP header of the apple-app-site-association file.
Reference URL: https://qiita.com/hashimotoryoh/items/583be4c8eddddd6ca452
Excerpt from httpd.conf
<Directory "/home/tomcat-static/web">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.4/mod/core.html#options
# for more information.
#
Options FollowSymLinks
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride None
#
# Controls who can get stuff from this server.
#
Require all granted
<Files apple-app-site-association>
ForceType application/json
</Files>
</Directory>
Add "components" to the apple-app-site-association file.
Reference URL: https://developer.apple.com/forums/thread/669001
apple-app-site-association file
{
"applinks": {
"apps": [],
"details": [
{
"appID": "*.*.*.*",
"components": [
{"/": "/api/v1/appstore*"},
],
"paths": [ "/api/v1/appstore*" ]
}
]
}
}
■After implementation
The data seems to be obtained although an error occurs when it is confirmed by the Validator of Universal Links.
Apple Official App Search API Validation Tool
https://search.developer.apple.com/appsearch-validation-tool
■Requests
- In iOS14, it is necessary for AppleCDN to be able to acquire the apple-app-site-association file in order to launch apps from UniversalLink.
Can you tell me what is causing the failure to acquire the file?
If there is any other information you need, please let me know.
Post not yet marked as solved
How we can customize AppStore app links? I didn't find Documentation on Apple resources about this.
We have next case:
We use InApp purchases for subscriptions products in our app and we promote one of this subscription with Free trial on our page in AppStore.
We also use one service for attribution for marketing where we generate universal links.
We implemented feature to use different universal links to suggest different subscriptions for users with these links
But when users hasn't our app on their devices, they navigating to AppStore at first, where they also see Free trial suggestion.
So we can't guarantee user funnel with right InApp product identifier and user won't interrupt initial subscription suggestion to other subscription type.
As a result, we can't A/B test different subscriptions, Ad campaigns and compare the results
Can we configure AppStore app link to disable subscription promotion on the page in AppStore?
We don't want disable this subscription promotion via AppStore connect account entirely
Post not yet marked as solved
Hi all,
how do you handle the case to have a link on one webpage of your own domain, which shall open your own app using an universal link defined on the same domain.
According to the docs Universal Links on the same domain do NOT open in the app. I do understand the reason, but I am asking myself, how to best handle the case, where my client does indeed want to link from his own web page to his own app.
How do others handle such a request?
Isn't that a very common request from clients?
Thanks for any good advice