What happens if apple-app-site-association request failed?

When app installed from app store, iOS requests apple-app-site-association file for very first time, as I know.

But if the server was down at that time, iOS will fail to obtain apple-app-site-association file.


My question is, when iOS will retry to download that file under that situation.


I confirmed that, 1) When App Installed or 2) When device reboot

iOS requests apple-app-site-association file, but I expect that more circumstances exsists.


Is there anyone who knows?

The reference describes that situation.


See : https://developer.apple.com/library/ios/documentation/Security/Reference/SharedWebCredentialsRef/


A number of issues might cause the validation to fail.

  • The JSON signature is invalid. The association is denied.
  • JSON file is invalid or does not contain the application identifier. The association is denied.
  • The server returns a 300-499 code. This includes redirects. The association is denied.
  • The server returns a 500-599 code. The system assumes that the file is temporarily unavailable and tries again. By default, the system tries every 3 hours for up to eight tries. It also tries whenever the app calls the
    SecAddSharedWebCredential
    or
    SecRequestSharedWebCredential
    method.
What happens if apple-app-site-association request failed?
 
 
Q