chayev / yurl

Universal Links / App Links Validator
https://yurl.chayev.com/
MIT License
30 stars 7 forks source link

Add Apple CDN Debug Headers to AASA checks #68

Closed chayev closed 1 year ago

chayev commented 1 year ago

Since iOS 14, Apple now caches the AASA file from the properties domain and uses the cache when the app is installed.

Checking against https://app-site-association.cdn-apple.com/a/v1/[DOMAIN] returning headers that are useful to debug.

Add support for this to both the CLI and web app. Note: update the file in yurllib should automatically add support for both as long as the new functionality is wrapped by the main function (CheckAASADomain).

aceslick911 commented 1 year ago

Hi @chayev let me know if you need any other help getting this to production 👍

One additional change I'd recommend making would be throw an error code in the CLI when the deeplinking is presumed to be not working due to a failure condition.

This would mean teams could potentially use yurl in CI or automation to detect when problems with deeplinking happen.

Important notes:

created new issue: https://github.com/chayev/yurl/issues/69

aceslick911 commented 1 year ago

in regards to usage in CI

chayev commented 1 year ago

Thank you for the feedback and opening the issue @aceslick911. I'll open another issue for the reCaptcha comment, that's not a bad idea. Feel free to work on this if you have time.

I'm running through a few tests currently, once those pass I will make a minor release.

The error codes suggestion is actually something that has been on my mind. Agreed it would help with those that want to use this during their CI process. Feel free to work on this as well.

chayev commented 1 year ago

@aceslick911 these changes were included in the latest release of yURL v0.7.1