ethanhuang13 / knil

Universal Links testing made easy
MIT License
758 stars 28 forks source link

Support for well known folder #14

Closed rasod closed 5 years ago

rasod commented 5 years ago

Can’t seem to get app to load AASS file when stored in .well-known folder

/.well-known/apple-app-site-association

https://developer.apple.com/library/archive/qa/qa1919/_index.html

ethanhuang13 commented 5 years ago

Did you specify the URL with https://domain/.well-known/apple-app-site-association or just https://domain ?

By default, Knil will grab AASA from root. Specify /.well-known by yourself if you need.

rasod commented 5 years ago

I tried entering the full domain it just removes the .well-known segment not sure what I’m doing wrong

ethanhuang13 commented 5 years ago

May I ask what is your domain? Or send me though in-app feedback.

ethanhuang13 commented 5 years ago

I've check the issue. According to the document, iOS will try to fetch from /.well-known/apple-app-site-association first, if failed, then fetch from /apple-app-site-assoication.

Knil's fetching order is reversed. And it should be fixed. Thanks for reporting the issue.

Meanwhile, you can first enter nothing and tap "I'm Felling Lucky", paste the URL, then tap "Go".

ethanhuang13 commented 5 years ago

Fixed in v1.1.0. Close issue.