-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update the Apple app association file #6385
Conversation
@Dal-Papa We chatted with Joe over DM about reviewing this and he is OOO for a week so we are not in a rush on this. I guess we could even go forward with this one as we have already made these changes in Web-E. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vitHoracek we were able to test #6366 on staging so I think we can do the same here. Since we can test on staging I don't think we need to hold on this, I'll update the QA section
@Jag96 Ah, that is true. I will test it out when it gets deployed to Staging 🙌 |
Looks like we missed something here: https://github.com/Expensify/App/runs/4291419056?check_suite_focus=true. This file has a mention that we need to update, going to make a quick PR. |
@Jag96 ah, good catch, waiting for the E2E to pass to merge the fix! |
Maybe related to my comment here: https://expensify.slack.com/archives/C02NQJMCQ6M/p1637684476011300?thread_ts=1637677126.010600&cid=C02NQJMCQ6M |
🚀 Deployed to production by @roryabraham in version: 1.1.16-10 🚀
|
@Jag96 Ok, so the apple association validator is still showing error which is confusing to me honestly. For When I made the changes there, I have left the old format as a fallback as well. At the same time, we know that on both platforms the universal links work so the file cannot be completely wrong. The validator refers to the old archived documentation so maybe it is the validator which is not updated 😵💫 |
If Universal Links work... what are we trying to fix? What are the consequences of not passing the "validator"? |
FWIW, |
@marcaaron correct, I got confused, this PR which fixes the location just got deployed to staging #6430 (comment) So we should try the validator in couple of minutes on staging. However, on I guess technically, the validator should tell us the universal link are not working because the file has a wrong format, however, that is clearly not the case since the OldDot the validator also shows error, but we know the links work for us 🤷♂️ |
Details
Apple is deprecating the format of app-association-file we are currently using, therefore we need to change it. The new format is described in this documentation and the
applinks
property is described more specifically on this page.The file also needs to be served from
.well-known/
directory as described in the docs:Check the linked issue for more details.
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/185770
Tests
No local tests.
QA Steps
Once deployed to staging, make sure to have the latest app version and then click this link and make sure the app opens instead of the browser.
Also, put
staging.new.expensify.com
into this Apple tool https://search.developer.apple.com/appsearch-validation-tool and make sure there are no errors.Tested On
Screenshots
Web
Mobile Web
Desktop
iOS
Android