Skip to content
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

Apple app site associations fixes #1693

Merged
merged 2 commits into from
Oct 4, 2023

Conversation

stefanceriu
Copy link
Member

@stefanceriu stefanceriu commented Oct 4, 2023

Universal links stopped working following the introduction for the new format and the no_universal_link query exclusion.
It seems that specifying * for it means it would match even when it's completely missing. See this wwdc video around the 8 minute mark. The fix is to use ?* instead.

It also seems that correct place for this file is .well-known and all other previously supported locations are now deprecated

Relates to element-hq/element-x-ios#1824

@stefanceriu stefanceriu requested a review from a team as a code owner October 4, 2023 11:09
https://developer.apple.com/videos/play/wwdc2019/717/

```
You'll notice that I specify a question mark and an asterisk as the pattern from the query items value. A pattern consisting of a single asterisk matches any string, including the empty string. And a missing query item has a value equivalent to the empty string. So to match against the string that's at least one character long, I specify a question mark and then any additional characters are matched by the asterisk.
```
https://developer.apple.com/videos/play/wwdc2019/717/

```
This file should be located at HTTPS://your domain name/.well-known/apple-app-site-association

Other paths are deprecated.
```
@stefanceriu stefanceriu force-pushed the stefan/appleAppSiteAssociations branch from 2733be7 to 62a80ee Compare October 4, 2023 11:10
@codecov-commenter
Copy link

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (a3eb58f) 29.86% compared to head (62a80ee) 29.86%.

Additional details and impacted files
@@           Coverage Diff            @@
##           livekit    #1693   +/-   ##
========================================
  Coverage    29.86%   29.86%           
========================================
  Files           47       47           
  Lines         1875     1875           
  Branches       328      328           
========================================
  Hits           560      560           
  Misses        1274     1274           
  Partials        41       41           
Flag Coverage Δ
unittests 29.86% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@stefanceriu stefanceriu merged commit 1eb2302 into livekit Oct 4, 2023
3 checks passed
@stefanceriu stefanceriu deleted the stefan/appleAppSiteAssociations branch October 4, 2023 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants