wolfprogrammer
wolfprogrammer

Reputation: 644

Does the apple-app-site-association json file ever get updated in app?

Other than the first initial install of the app, does the apple-app-site-association json file ever get updated?

For example, if I add an additional value to the path array in the json file, will my app ever get that update?

Upvotes: 48

Views: 12922

Answers (2)

Trevor Dixon
Trevor Dixon

Reputation: 24392

According to https://developer.apple.com/documentation/xcode/supporting-associated-domains#Add-the-associated-domains-entitlement-to-your-app:

Apple’s content delivery network requests the apple-app-site-association file for your domain within 24 hours. Devices check for updates approximately once per week after app installation.

Upvotes: 8

Alex Bauer
Alex Bauer

Reputation: 13633

My own experience indicates the apple-app-site-association file is checked when the app is first installed, and then rechecked during any later app updates from the App Store. So if you add an additional path to the file, it would be detected when the next update app is released but likely not before.

Note: if you're testing locally, you need to completely delete the app before reinstalling. Except for App Store updates, it appears the apple-app-site-association is not rechecked if the app is already on your device.

Upvotes: 55

Related Questions