iOS 11.2 sometimes AASA file is not updated after app installation/reinstallation

Originator:ghaydamakha
Number:rdar://4999496467480576 Date Originated:12/06
Status:OPEN Resolved:NO
Product:iOS Product Version:11.2+
Classification: Reproducible:Sometimes
 
Sometimes, on any iOS 11.2+, the AASA file is not being updated after the application is installed. In that case, the only way to update it is to delete the app, restart the device, and install the app.
This was reproduced on multiple iPhone devices.

Applications that were installed on the device before the update will continue working, however, upon reinstalling - they may stop working.

Comments

Upvoting

I'm agree with guangyu.wangg, there's an issue from iOS 12 that is not detecting the dynamic link

Upvoting

I am experiencing something similar on iOS12+ Universal links always failed for me within 5 minutes after rebooting the phone. I put descriptions in http://www.openradar.me/45201697

By guangyu.wangg at Oct. 11, 2018, 8:10 p.m. (reply...)

Seems this issue got resolved in iOS 12.1 beta. My is working as expected in iOS 12.1 beta.

By chakri.ios at Oct. 3, 2018, 1:24 p.m. (reply...)

tjfallon , Thanks a lot for you reply on this post. May I know Apple aware about this issue. Shall we expect the fix in iOS 12.0.1 version ?

By chakri.ios at Sept. 28, 2018, 5:36 p.m. (reply...)

On iOS 12, if the device begins by attempting to load the file from "/.well-known/apple-app-site-association", the "SecRequestSharedWebCredential" function will hang for up to 15m. By hang, I mean the callback isn't called, and so our app does not continue execution. We're confirming this behavior via the swcd process logs, but don't have a work around and aren't fully clear on the STR. (Some of our apps don't have this problem, some do, same code executing.)

default 11:22:45.750840 -0700 swcd Started request for domain 'skillz.com', URL 'https://skillz.com/.well-known/apple-app-site-association'

default 11:23:26.865495 -0700 swcd Check service 'webcredentials', app ID 'NYQX9Q9R54.com.tether.bubble', domain 'skillz.com'

default 11:23:26.866431 -0700 swcd Skipping request for domain 'skillz.com' when already outstanding

default 11:29:41.864330 -0700 swcd Completing request for 'https://skillz.com/.well-known/apple-app-site-association', status 0/0x0 noErr

default 11:29:41.866381 -0700 swcd Updated app ID 'NYQX9Q9R54.com.tether.bubble', domain 'skillz.com', flags 0x0 < > -> 0x2 < SiteApproved > on check

default 11:29:42.281577 -0700 swcd Retry needed for 'skillz.com' success in 4d 23h 37s

The third line here, "Skipping request for domain 'skillz.com' when already outstanding", is logged out by swcd exactly the moment our code calls the "SecRequestSharedWebCredential" function.

It seems as if the request is being begun with low priority in some cases. We do see that once the request completes, the fourth/fifth lines in the log above, the Username/Password alert dialog is shown. At first, we assumed this was because we weren't serving the file from the /.well-known/ domain directory, but now that we are, and we see "swcd" log out a success, the issue still occurs.

We're able to reproduce this problem pretty reliably on older iPads on iOS 12, but also occurs on other devices as recent on the iPhone XS Max. This only occurs on iOS 12 so far it seems.

Universal links are working in my iOS 11.4.1 device. But when I test in another iOS 12 device it's not working. Seems it's broken again in iOS 12. Please check the following logs.

swcd(CoreUtils)[197] : Added service 'applinks', appID 'K5HKFCX9NG.com.example.test', domain 'example.test.com'

swcd(CoreUtils)[197] : Skipping request for domain 'example.test.com' when already outstanding

By chakri.ios at Sept. 27, 2018, 5:31 p.m. (reply...)

Upvoting

I am using Firebase dynamic link for Universal links , and its not working most of the time.

Upvoting

We are having the same issue, and are losing approximately 15-20% of our users due to this, at a loss for a fix.

upvoting

Still happening in iOS 11.4

Also on iOS 12

Still happening even on iOS 12 Beta 1.

Upvoting

Same issue here. With no changes, the same Universal URL works in a very unstable way.

Still exists on 11.3.1

11.3.1 still has this issue.

By mike.caulley at May 22, 2018, 1:43 p.m. (reply...)

Upvoting

Same issues with me.

By technollage at May 15, 2018, 10:14 a.m. (reply...)

Upvoting

Still happening on iOS 11.3

By gonzalogallotti at May 4, 2018, 2:48 p.m. (reply...)

Upvoting

Very much an issue.

By weisbergisaac at May 4, 2018, 4:29 a.m. (reply...)

Upvoting

This is happening for me as well. I see some requests to the AASA file in the access logs but most installs (incl. tests I do from my devices don't).

By halilkoklu at May 3, 2018, 12:16 p.m. (reply...)

Upvoting

We are also noticing this happening randomly and some customers are impacted, any ETA will be useful.

Upvoting

Hi, having the same issue here! Any ETA for the fix? Thanks!

By ramos.danielg at April 10, 2018, 7:36 p.m. (reply...)

Upvoting

Still happen on iOS 11.3 beta 6

By khanh.phamdd at March 23, 2018, 1:57 a.m. (reply...)

Upvoting

I've seen this happen with a number of apps too. I can see the AASA file intermittently fail to download after an install.

Upvoting

This is reproducible for customers on our platform, and is not resolved as of iOS 11.2.6.

Upvoting

Still seeing this intermittently after iOS 11.2.6 update ...

By mattkuhn333 at March 5, 2018, 9:22 p.m. (reply...)

Upvoting

Some developers using our SDK (appmetrica.yandex.com) are having this issue. Effect is the same and no stable factors affection the reproduction of the issue.

By lookin.alexander at Feb. 28, 2018, 4:47 p.m. (reply...)

Upvoting

This is really bad. We use Universal Links as part of our initial user experience, and it's randomly causing lots of problems for our end users.

Upvoting

Got some reports from customers. Can reproduce sometimes also.

Upvoting

This is causing big problems for us. The AASA file is not downloaded most of the time on fresh installs.

Upvoting

We believe this is happening with an app we are currently shipping upon returning from an authentication site via Safari.

By alexander.horovitz at Feb. 14, 2018, 11:15 p.m. (reply...)

Upvoting

Same for me. Very hard to reproduce as it appends randomly with my customers.

By Aurelien.Martinet at Feb. 7, 2018, 10:57 a.m. (reply...)

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!